X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1addd4cc9c4dd7605c9d3e6ed550b229dc6ebe05..e6477dde693f8ea0fc7b616bae18598d182b2de4:/package/base-files/files/sbin/wifi?ds=sidebyside diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index 6e8e41845..2ca5d22cb 100755 --- a/package/base-files/files/sbin/wifi +++ b/package/base-files/files/sbin/wifi @@ -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 }