summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-11-10 10:01:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-11-10 10:01:33 +0000
commite78e720a6f43ee3dd7c23af57618d4370623a0ad (patch)
tree72109b241cad8fd35e47c7c84d80382b138a6d0a
parent28de84d0246eeb022fbc21cb765a0e4d47d15eb1 (diff)
downloadmtk-20170518-e78e720a6f43ee3dd7c23af57618d4370623a0ad.zip
mtk-20170518-e78e720a6f43ee3dd7c23af57618d4370623a0ad.tar.gz
mtk-20170518-e78e720a6f43ee3dd7c23af57618d4370623a0ad.tar.bz2
netifd: remove connect_time from /var/state, it is unused
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38704
-rw-r--r--package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate1
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 c50cda6..023025c 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"