From: Felix Fietkau Date: Sun, 22 Jul 2007 18:46:57 +0000 (+0000) Subject: fix an error message X-Git-Tag: reboot~28568 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=600d29f61e778d0a29a460d85726a7b1c0fb89e0;p=oweals%2Fopenwrt.git fix an error message SVN-Revision: 8109 --- 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" "|"