mirror of https://github.com/hak5/openwrt.git
parent
a963a80a38
commit
c309ed6210
|
@ -13,8 +13,8 @@ if_call() {
|
|||
done
|
||||
}
|
||||
|
||||
[ "$modes" = "down up" ] && ubus call network reload
|
||||
[[ "$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