summaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/sbin/wifi10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi
index 51e10af10..8b65e4567 100755
--- a/package/base-files/files/sbin/wifi
+++ b/package/base-files/files/sbin/wifi
@@ -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'"