aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-09 00:16:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-09 00:16:55 +0000
commitb093e78b506d09c0e8f706a44a70291b4f4eec8f (patch)
treef90555feaa8d03fdb3e3f472875680d2ad082085 /package/base-files/files/etc
parente2686b946d7bf25f5795541b7bb17f8602898bed (diff)
downloadupstream-b093e78b506d09c0e8f706a44a70291b4f4eec8f.tar.gz
upstream-b093e78b506d09c0e8f706a44a70291b4f4eec8f.tar.bz2
upstream-b093e78b506d09c0e8f706a44a70291b4f4eec8f.zip
Revert "fix nonhotpluggable networks not being brought up. Closes #2781" (r17527) until we've solved the race conditions it creates
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17544 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-xpackage/base-files/files/etc/init.d/network15
1 files changed, 0 insertions, 15 deletions
diff --git a/package/base-files/files/etc/init.d/network b/package/base-files/files/etc/init.d/network
index 75103ec073..e77db02517 100755
--- a/package/base-files/files/etc/init.d/network
+++ b/package/base-files/files/etc/init.d/network
@@ -4,18 +4,7 @@
START=40
STOP=40
-config_cb() {
- local cfg_type="$1"
-
- case "$cfg_type" in
- interface)
- append networks "$2" "$N"
- ;;
- esac
-}
-
boot() {
- uci_load network
setup_switch() { return 0; }
include /lib/network
@@ -23,10 +12,6 @@ boot() {
[ -s /etc/config/wireless ] || \
/sbin/wifi detect > /etc/config/wireless
/sbin/wifi up
- for network in $networks; do
- config_get startupcheck $network started
- [ "$startupcheck" = "" ] && ifup $network
- done
}
start() {