projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b13426e
)
fix an error message
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 22 Jul 2007 18:46:57 +0000
(18:46 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 22 Jul 2007 18:46:57 +0000
(18:46 +0000)
SVN-Revision: 8109
package/base-files/files/sbin/wifi
patch
|
blob
|
history
diff --git
a/package/base-files/files/sbin/wifi
b/package/base-files/files/sbin/wifi
index 0d26468ba2f037bb604d0361915204360e332af8..51e10af103639dc0ed29c95b9f89003ef84ef61c 100755
(executable)
--- 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" "|"