1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-12 01:47:30 +02:00
openwrt-xburst/package/base-files/files/etc/hotplug.d/iface/00-netstate
jow 0ea2666dad [backfire] merge r24206
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@24207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-01 17:39:38 +00:00

6 lines
204 B
Plaintext

[ ifup = "$ACTION" ] && {
uci_set_state network "$INTERFACE" up 1
uci_set_state network "$INTERFACE" connect_time $(date +%s)
[ -n "$DEVICE" ] && uci_set_state network "$INTERFACE" ifname "$DEVICE"
}