mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 02:48:26 +02:00
netifd: always issue a reload on ifup, not just for -a
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29863 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cbe4e8a6e6
commit
fb6d8740b4
@ -13,8 +13,8 @@ if_call() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[ "$modes" = "down up" ] && ubus call network reload
|
||||||
[[ "$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