1
0

00-netstate 244 B

1234567
  1. [ ifup = "$ACTION" ] && {
  2. uci_toggle_state network "$INTERFACE" up 1
  3. [ -n "$DEVICE" ] && {
  4. uci_toggle_state network "$INTERFACE" device "$(uci -q get network.$INTERFACE.ifname)"
  5. uci_toggle_state network "$INTERFACE" ifname "$DEVICE"
  6. }
  7. }