1 2 3 4 5 6
[ ifup = "$ACTION" ] && { uci_toggle_state network "$INTERFACE" up 1 [ -n "$DEVICE" ] && { uci_toggle_state network "$INTERFACE" ifname "$DEVICE" } }