summaryrefslogtreecommitdiffstats
path: root/package/base-files/default/sbin/wifi
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/sbin/wifi')
-rwxr-xr-xpackage/base-files/default/sbin/wifi7
1 files changed, 1 insertions, 6 deletions
diff --git a/package/base-files/default/sbin/wifi b/package/base-files/default/sbin/wifi
index 63b2f121b..f1ac94fa3 100755
--- a/package/base-files/default/sbin/wifi
+++ b/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