2007-06-16 08:01:33 +08:00
|
|
|
[ ifup = "$ACTION" ] && {
|
2008-02-03 14:48:15 +08:00
|
|
|
uci_set_state network "$INTERFACE" up 1
|
2010-12-02 01:37:32 +08:00
|
|
|
uci_set_state network "$INTERFACE" connect_time $(date +%s)
|
2008-11-29 00:18:11 +08:00
|
|
|
[ -n "$DEVICE" ] && uci_set_state network "$INTERFACE" ifname "$DEVICE"
|
2007-06-16 08:01:33 +08:00
|
|
|
}
|