diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-11-10 10:01:33 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-11-10 10:01:33 +0000 |
commit | 3bdbd057b3eb9bc8caa6acb3a4a9ea341f997de5 (patch) | |
tree | b9e153ca767c257b3684404335ab281b36167fe0 | |
parent | 7e1512533da0da623d509bc01d4fde1f2a22e54f (diff) | |
download | upstream-3bdbd057b3eb9bc8caa6acb3a4a9ea341f997de5.tar.gz upstream-3bdbd057b3eb9bc8caa6acb3a4a9ea341f997de5.tar.bz2 upstream-3bdbd057b3eb9bc8caa6acb3a4a9ea341f997de5.zip |
netifd: remove connect_time from /var/state, it is unused
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38704 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate | 1 |
1 files changed, 0 insertions, 1 deletions
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" |