fix error message
SVN-Revision: 5119
This commit is contained in:
parent
60d2df5f70
commit
8a3523dc0e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue