summaryrefslogtreecommitdiff
path: root/package/base-files-network
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-03 20:02:25 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-03 20:02:25 +0000
commita296f5fbac240d39380363d21704110256a9eeb8 (patch)
treea1e1e3e8c3577958d8df4b26ab0c1e5536f17619 /package/base-files-network
parentb42df216bf577b3d8faaba07dde5970b0ddbe76b (diff)
base-files: load modules early, run wifi detect afterwards and only then process uci defaults
this allows uci-defaults scripts to override wifi settings git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28733 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files-network')
-rwxr-xr-xpackage/base-files-network/files/etc/init.d/network5
1 files changed, 0 insertions, 5 deletions
diff --git a/package/base-files-network/files/etc/init.d/network b/package/base-files-network/files/etc/init.d/network
index fc512216f8..ad73e60375 100755
--- a/package/base-files-network/files/etc/init.d/network
+++ b/package/base-files-network/files/etc/init.d/network
@@ -10,11 +10,6 @@ boot() {
include /lib/network
setup_switch
- /sbin/wifi detect > /tmp/wireless.tmp
- [ -s /tmp/wireless.tmp ] && {
- cat /tmp/wireless.tmp >> /etc/config/wireless
- }
- rm -f /tmp/wireless.tmp
grep -qs config /etc/config/wireless && {
/sbin/wifi up
}