mirror of https://github.com/hak5/openwrt.git
parent
a963a80a38
commit
c309ed6210
|
@ -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