8 ubus call network.interface
$mode "{ \"interface\" : \"$interface\" }"
17 *) echo "Invalid command: $0";;
32 [ "$modes" = "down up" ] && ubus call network reload
33 if [ -n "$ifup_all" ]; then
34 for interface
in $
(ubus
-S list
'network.interface.*'); do
35 if_call
"${interface##network.interface.}"
39 ubus
-S list
"network.interface.$1" > /dev
/null ||
{
40 echo "Interface $1 not found"