diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-03 20:02:25 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-03 20:02:25 +0000 |
commit | a296f5fbac240d39380363d21704110256a9eeb8 (patch) | |
tree | a1e1e3e8c3577958d8df4b26ab0c1e5536f17619 /package/base-files-network/files | |
parent | b42df216bf577b3d8faaba07dde5970b0ddbe76b (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/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 fc512216f..ad73e6037 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 } |