mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-11 20:50:15 +02:00
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:
parent
45cb96ebda
commit
9891a9a835
@ -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 New Issue
Block a user