diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-22 18:46:57 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-22 18:46:57 +0000 |
commit | 29ea2061413bbd85baa419cc16c9465f0ab55967 (patch) | |
tree | 8335921f0276b5997a726eb7b1bebcc31adb07a5 | |
parent | 61060584fe3f8cb8f1301fd09806d62170088a8f (diff) |
fix an error message
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8109 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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" "|" |