mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 17:32:57 +00:00
tab/whitespace fix
SVN-Revision: 8338
This commit is contained in:
parent
4d8a5d7d23
commit
b085680b96
@ -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