From: Felix Fietkau Date: Sun, 10 Nov 2013 10:01:33 +0000 (+0000) Subject: netifd: remove connect_time from /var/state, it is unused X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e78e720a6f43ee3dd7c23af57618d4370623a0ad;p=openwrt%2Fstaging%2Fstintel.git netifd: remove connect_time from /var/state, it is unused Signed-off-by: Felix Fietkau SVN-Revision: 38704 --- diff --git a/package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate b/package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate index c50cda6eac..023025cd1a 100644 --- a/package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate +++ b/package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate @@ -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"