From: nbd Date: Mon, 14 May 2012 23:50:59 +0000 (+0000) Subject: netifd: bring up all interfaces on /etc/init.d/network restart X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=5cecffbb27e3fb07084578f0a88c79d2e46acc7c;p=openwrt.git netifd: bring up all interfaces on /etc/init.d/network restart git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31732 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/netifd/files/etc/init.d/network b/package/netifd/files/etc/init.d/network index 455bf411b1..9ef2506dea 100755 --- a/package/netifd/files/etc/init.d/network +++ b/package/netifd/files/etc/init.d/network @@ -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 }