mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-29 00:51:05 +02:00
tab/whitespace fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8338 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2d6bbc425e
commit
5493237787
@ -38,11 +38,11 @@ bridge_interface() {(
|
|||||||
wifi_updown() {
|
wifi_updown() {
|
||||||
[ enable = "$1" ] && wifi_updown disable "$2"
|
[ enable = "$1" ] && wifi_updown disable "$2"
|
||||||
for device in ${2:-$DEVICES}; do (
|
for device in ${2:-$DEVICES}; do (
|
||||||
config_get disabled "$device" disabled
|
config_get disabled "$device" disabled
|
||||||
[ 1 == "$disabled" ] && {
|
[ 1 == "$disabled" ] && {
|
||||||
echo "'$device' is disabled"
|
echo "'$device' is disabled"
|
||||||
set disable
|
set disable
|
||||||
}
|
}
|
||||||
config_get iftype "$device" type
|
config_get iftype "$device" type
|
||||||
if eval "type ${1}_$iftype" 2>/dev/null >/dev/null; then
|
if eval "type ${1}_$iftype" 2>/dev/null >/dev/null; then
|
||||||
eval "scan_$iftype '$device'"
|
eval "scan_$iftype '$device'"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user