more fixes
[openwrt.git] / package / base-files / files / sbin / wifi
index 6e8e418..2ca5d22 100755 (executable)
@@ -38,7 +38,7 @@ bridge_interface() {(
 wifi_updown() {
        for device in ${2:-$DEVICES}; do (
                config_get disabled "$device" disabled
-               [ "$disabled" == "1" ] && {
+               [ 1 == "$disabled" ] && {
                        echo "'$device' is disabled"
                        set disable
                }
This page took 0.020335 seconds and 4 git commands to generate.