tab/whitespace fix
authorFelix Fietkau <nbd@openwrt.org>
Sat, 4 Aug 2007 11:30:40 +0000 (11:30 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 4 Aug 2007 11:30:40 +0000 (11:30 +0000)
SVN-Revision: 8338

package/base-files/files/sbin/wifi

index 51e10af103639dc0ed29c95b9f89003ef84ef61c..8b65e4567d5b9b02c2d59bc650bf0551cd971fa8 100755 (executable)
@@ -38,11 +38,11 @@ bridge_interface() {(
 wifi_updown() {
        [ enable = "$1" ] && wifi_updown disable "$2"
        for device in ${2:-$DEVICES}; do (
-               config_get disabled "$device" disabled
-               [ 1 == "$disabled" ] && {
-                       echo "'$device' is disabled"
-                       set disable
-               }
+               config_get disabled "$device" disabled
+               [ 1 == "$disabled" ] && {
+                       echo "'$device' is disabled"
+                       set disable
+               }
                config_get iftype "$device" type
                if eval "type ${1}_$iftype" 2>/dev/null >/dev/null; then
                        eval "scan_$iftype '$device'"