mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
tab/whitespace fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8338 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -38,11 +38,11 @@ bridge_interface() {(
|
||||
wifi_updown() {
|
||||
[ enable = "$1" ] && wifi_updown disable "$2"
|
||||
for device in ${2:-$DEVICES}; do (
|
||||
config_get disabled "$device" disabled
|
||||
[ 1 == "$disabled" ] && {
|
||||
echo "'$device' is disabled"
|
||||
set disable
|
||||
}
|
||||
config_get disabled "$device" disabled
|
||||
[ 1 == "$disabled" ] && {
|
||||
echo "'$device' is disabled"
|
||||
set disable
|
||||
}
|
||||
config_get iftype "$device" type
|
||||
if eval "type ${1}_$iftype" 2>/dev/null >/dev/null; then
|
||||
eval "scan_$iftype '$device'"
|
||||
|
||||
Reference in New Issue
Block a user