projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rewrite of the network scripts and configuration
[openwrt/openwrt.git]
/
openwrt
/
package
/
base-files
/
default
/
sbin
/
wifi
diff --git
a/openwrt/package/base-files/default/sbin/wifi
b/openwrt/package/base-files/default/sbin/wifi
index 63b2f121bda4547b3fd1aa724b9db9e5b1df329c..f1ac94fa3a02469dceb9af6eaa3461b33c35d1bc 100755
(executable)
--- a/
openwrt/package/base-files/default/sbin/wifi
+++ b/
openwrt/package/base-files/default/sbin/wifi
@@
-30,12
+30,7
@@
config_cb() {
}
config_load wireless
-
-[ -d /lib/wifi -a -n "$(ls /lib/wifi/*.sh 2>&-)" ] && {
- for script in /lib/wifi/*.sh; do
- . $script
- done
-}
+include wifi
for device in $DEVICES; do (
config_get type "$device" type