netifd: bring up all interfaces on /etc/init.d/network restart
authorFelix Fietkau <nbd@openwrt.org>
Mon, 14 May 2012 23:50:59 +0000 (23:50 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 14 May 2012 23:50:59 +0000 (23:50 +0000)
SVN-Revision: 31732

package/netifd/files/etc/init.d/network

index 455bf411b16ecc9dd03ffc2506ca90d4d6ad0769..9ef2506dea533c7d819befd26a8fa70b9a39055c 100755 (executable)
@@ -8,8 +8,7 @@ start() {
        include /lib/network
        setup_switch
 
-       ubus call network reload
-
+       ifup -a
        grep -qs config /etc/config/wireless && {
                /sbin/wifi up
        }