mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 10:45:11 +02:00
fix error message
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5119 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9031e48bce
commit
b4617a34ff
@ -20,7 +20,7 @@ wifi_down() {
|
|||||||
config_get iftype "$device" type
|
config_get iftype "$device" type
|
||||||
if eval "type disable_$iftype" 2>/dev/null >/dev/null; then
|
if eval "type disable_$iftype" 2>/dev/null >/dev/null; then
|
||||||
eval "scan_$iftype '$device'"
|
eval "scan_$iftype '$device'"
|
||||||
eval "disable_$iftype '$device'" || echo "$device($iftype): Setup failed"
|
eval "disable_$iftype '$device'" || echo "$device($iftype): Disable failed"
|
||||||
else
|
else
|
||||||
echo "$device($iftype): Interface type not supported"
|
echo "$device($iftype): Interface type not supported"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user