Revert "add ifup -a to boot(), closes #4543 #2781" (r17515)
authorFelix Fietkau <nbd@openwrt.org>
Sat, 5 Sep 2009 13:05:59 +0000 (13:05 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 5 Sep 2009 13:05:59 +0000 (13:05 +0000)
Hotpluggable interfaces are already brought up before /etc/init.d/network boot
and this change can break them, if the ifup -a command runs at the wrong time,
also starts many interfaces twice, which can lead to issues with PPPoE.

SVN-Revision: 17516

package/base-files/files/etc/init.d/network

index b63ed0b..e77db02 100755 (executable)
@@ -11,7 +11,6 @@ boot() {
        setup_switch
        [ -s /etc/config/wireless ] || \
                /sbin/wifi detect > /etc/config/wireless
-       ifup -a
        /sbin/wifi up
 }