aboutsummaryrefslogtreecommitdiffstats
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
commitc3312ba02d1a64c02dfb5c48505c93065de75c3d (patch)
tree0d1e026208f25c66577f3ddbae298ad3d3f904b0 /package/netifd
parent94b38ec0fd82f35b05570154559dc71f4d828aaf (diff)
downloadupstream-c3312ba02d1a64c02dfb5c48505c93065de75c3d.tar.gz
upstream-c3312ba02d1a64c02dfb5c48505c93065de75c3d.tar.bz2
upstream-c3312ba02d1a64c02dfb5c48505c93065de75c3d.zip
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
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 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
}