aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-23 17:22:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-10-23 17:22:01 +0000
commit952c79097e28a045f0642c51b84dc6c477297211 (patch)
treef57adb958e1c2ed9ccb9849e5fd8bca21d182e6a /package
parent3dfbfb9eeb3c8d154f80111cdadc4a45d154727c (diff)
downloadupstream-952c79097e28a045f0642c51b84dc6c477297211.tar.gz
upstream-952c79097e28a045f0642c51b84dc6c477297211.tar.bz2
upstream-952c79097e28a045f0642c51b84dc6c477297211.zip
netifd: reload the network config on ifup -a
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28544 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/netifd/files/sbin/ifup1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/netifd/files/sbin/ifup b/package/netifd/files/sbin/ifup
index 1036943ab2..ef85de1fe8 100755
--- a/package/netifd/files/sbin/ifup
+++ b/package/netifd/files/sbin/ifup
@@ -14,6 +14,7 @@ if_call() {
}
[[ "$1" == "-a" ]] && {
+ [ "$modes" = "down up" ] && ubus call network reload
for interface in `ubus -S list 'network.interface.*'`; do
if_call "$interface"
done