netifd: reload the network config on ifup -a
SVN-Revision: 28544
This commit is contained in:
parent
204bf6e5fe
commit
4112fbaafb
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ if_call() {
|
||||||
}
|
}
|
||||||
|
|
||||||
[[ "$1" == "-a" ]] && {
|
[[ "$1" == "-a" ]] && {
|
||||||
|
[ "$modes" = "down up" ] && ubus call network reload
|
||||||
for interface in `ubus -S list 'network.interface.*'`; do
|
for interface in `ubus -S list 'network.interface.*'`; do
|
||||||
if_call "$interface"
|
if_call "$interface"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue