fix an error message
SVN-Revision: 8109
This commit is contained in:
parent
b13426e21b
commit
600d29f61e
1 changed files with 2 additions and 0 deletions
|
@ -82,6 +82,8 @@ set_wifi_up() {
|
||||||
set_wifi_down() {
|
set_wifi_down() {
|
||||||
local cfg="$1"
|
local cfg="$1"
|
||||||
local vifs vif vifstr
|
local vifs vif vifstr
|
||||||
|
[ -f /var/state/wireless ] || return
|
||||||
|
|
||||||
config_get vifs "$cfg" vifs
|
config_get vifs "$cfg" vifs
|
||||||
for vif in $vifs; do
|
for vif in $vifs; do
|
||||||
append vifstr "$vif" "|"
|
append vifstr "$vif" "|"
|
||||||
|
|
Loading…
Reference in a new issue