From 44ba13b57890b62ecd30ba8a7ce2758e5b44ee89 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 3 Nov 2011 20:02:25 +0000 Subject: base-files: load modules early, run wifi detect afterwards and only then process uci defaults this allows uci-defaults scripts to override wifi settings SVN-Revision: 28733 --- package/base-files-network/files/etc/init.d/network | 5 ----- 1 file changed, 5 deletions(-) (limited to 'package/base-files-network') diff --git a/package/base-files-network/files/etc/init.d/network b/package/base-files-network/files/etc/init.d/network index fc51221..ad73e60 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 } -- cgit v1.1