diff options
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/files/sbin/wifi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index 0d26468ba2..51e10af103 100755 --- a/package/base-files/files/sbin/wifi +++ b/package/base-files/files/sbin/wifi @@ -82,6 +82,8 @@ set_wifi_up() { set_wifi_down() { local cfg="$1" local vifs vif vifstr + [ -f /var/state/wireless ] || return + config_get vifs "$cfg" vifs for vif in $vifs; do append vifstr "$vif" "|" |