netifd: reload the network config on ifup -a

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28544 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2011-10-23 17:22:01 +00:00
parent 3dfbfb9eeb
commit 952c79097e

View File

@@ -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