OSDN Git Service

luci-app-turboacc: fix typo
authorZiMing Mo <msylgj@immortalwrt.org>
Tue, 24 May 2022 05:58:20 +0000 (13:58 +0800)
committerZiMing Mo <msylgj@immortalwrt.org>
Tue, 24 May 2022 05:58:20 +0000 (13:58 +0800)
applications/luci-app-turboacc/root/etc/uci-defaults/turboacc

index e9602ce..cd7ef80 100755 (executable)
@@ -8,7 +8,7 @@ uci -q batch <<-EOF >/dev/null
 EOF
 
 local hw_flow=0
-[ -n "$(cat /etc/openwrt_release | grep -q mt762)" ] && hw_flow=1
+[ -n "$(cat /etc/openwrt_release | grep 'mt762')" ] && hw_flow=1
 uci -q batch <<-EOF >/dev/null
        set turboacc.config.hw_flow=${hw_flow}
        commit turboacc