From 91d40a14affc8478720d8106d83a07265b1e0f36 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 9 Sep 2009 00:16:55 +0000 Subject: Revert "fix nonhotpluggable networks not being brought up. Closes #2781" (r17527) until we've solved the race conditions it creates SVN-Revision: 17544 --- package/base-files/files/etc/init.d/network | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'package/base-files/files/etc') 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() { -- cgit v1.2.3