ar71xx: fix uci-defaults script for the WZR-HP-G30XNH boards
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / wzr-hp-g300nh
index 1448e1f9a5e79a7e7dd6ecf12a96dde4e9023943..db8d9f489fe0edb354e06750925cbcf69abb0089 100755 (executable)
@@ -32,6 +32,6 @@ commit system
 EOF
 }
 
-if [ "${board}" == "wzr-hp-g300nh" || "${board}" == "wzr-hp-g301nh" ]; then
+if [ "${board}" == "wzr-hp-g300nh" -o "${board}" == "wzr-hp-g301nh" ]; then
        wzrhpg300nh_set_leds
-fi
+fi
\ No newline at end of file