mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 14:21:06 +02:00
fix an error message
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8109 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
61060584fe
commit
29ea206141
@ -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…
x
Reference in New Issue
Block a user