b62054c323c43b97ce761c3d4ab7daf2083e63c1
6 *) echo "Invalid command: $0";;
9 [[ "$1" == "-a" ]] && {
10 for interface
in `ubus -S list 'network.interface.*'`; do
11 ubus call
$interface $mode
16 ubus
-S list
"network.interface.$1" > /dev
/null ||
{
17 echo "Interface $1 not found"
20 ubus call
"network.interface.$1" "$mode"