netifd: remove connect_time from /var/state, it is unused
authorFelix Fietkau <nbd@openwrt.org>
Sun, 10 Nov 2013 10:01:33 +0000 (10:01 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 10 Nov 2013 10:01:33 +0000 (10:01 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38704

package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate

index c50cda6eacfead48b229b523d7f720bed2ef1b25..023025cd1a0b4a61f44ca19264d99e0e948c1a5f 100644 (file)
@@ -1,6 +1,5 @@
 [ ifup = "$ACTION" ] && {
        uci_toggle_state network "$INTERFACE" up 1
-       uci_toggle_state network "$INTERFACE" connect_time $(sed -ne 's![^0-9].*$!!p' /proc/uptime)
        [ -n "$DEVICE" ] && {
                uci_toggle_state network "$INTERFACE" device "$(uci -q get network.$INTERFACE.ifname)"
                uci_toggle_state network "$INTERFACE" ifname "$DEVICE"