projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14568b9
)
tab/whitespace fix
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 4 Aug 2007 11:30:40 +0000
(11:30 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 4 Aug 2007 11:30:40 +0000
(11:30 +0000)
SVN-Revision: 8338
package/base-files/files/sbin/wifi
patch
|
blob
|
history
diff --git
a/package/base-files/files/sbin/wifi
b/package/base-files/files/sbin/wifi
index 51e10af103639dc0ed29c95b9f89003ef84ef61c..8b65e4567d5b9b02c2d59bc650bf0551cd971fa8 100755
(executable)
--- a/
package/base-files/files/sbin/wifi
+++ b/
package/base-files/files/sbin/wifi
@@
-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'"