summaryrefslogtreecommitdiff
path: root/package/netifd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-14 23:50:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-14 23:50:59 +0000
commit768d49a428ba32c267ba0b1a208a022c3d3f086d (patch)
tree870c75b21532930ef54e168cff3c5f63a8ab61c3 /package/netifd
parent5eed1d8f6b6228d738f25de528f005d7716e6d9d (diff)
downloadmtk-20170518-768d49a428ba32c267ba0b1a208a022c3d3f086d.zip
mtk-20170518-768d49a428ba32c267ba0b1a208a022c3d3f086d.tar.gz
mtk-20170518-768d49a428ba32c267ba0b1a208a022c3d3f086d.tar.bz2
netifd: bring up all interfaces on /etc/init.d/network restart
SVN-Revision: 31732
Diffstat (limited to 'package/netifd')
-rwxr-xr-xpackage/netifd/files/etc/init.d/network3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/netifd/files/etc/init.d/network b/package/netifd/files/etc/init.d/network
index 455bf41..9ef2506 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
}