diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-11-03 20:02:25 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-11-03 20:02:25 +0000 |
commit | 05ecf259d67d4756669a3925fe5062c6f7546ddd (patch) | |
tree | a1e1e3e8c3577958d8df4b26ab0c1e5536f17619 /package/base-files-network/files | |
parent | c16e9c5abffca46c528a0fac114b49447d9f21f9 (diff) | |
download | upstream-05ecf259d67d4756669a3925fe5062c6f7546ddd.tar.gz upstream-05ecf259d67d4756669a3925fe5062c6f7546ddd.tar.bz2 upstream-05ecf259d67d4756669a3925fe5062c6f7546ddd.zip |
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/files')
-rwxr-xr-x | package/base-files-network/files/etc/init.d/network | 5 |
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 } |