From 7a8056ee344ba9a9f42e813ee3cc14fc0e730a2a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 1 Dec 2010 17:39:38 +0000 Subject: [PATCH] merge r24206 SVN-Revision: 24207 --- package/base-files/files/etc/hotplug.d/iface/00-netstate | 1 + 1 file changed, 1 insertion(+) diff --git a/package/base-files/files/etc/hotplug.d/iface/00-netstate b/package/base-files/files/etc/hotplug.d/iface/00-netstate index 03285de18f..a10d871dc4 100644 --- a/package/base-files/files/etc/hotplug.d/iface/00-netstate +++ b/package/base-files/files/etc/hotplug.d/iface/00-netstate @@ -1,4 +1,5 @@ [ 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" } -- 2.30.2