mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 02:40:19 +00:00
fix an error message
SVN-Revision: 8109
This commit is contained in:
parent
b13426e21b
commit
600d29f61e
@ -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 New Issue
Block a user