netifd: reload the network config on ifup -a
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28544 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
3dfbfb9eeb
commit
952c79097e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue