summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/hotplug.d/iface/00-netstate
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc/hotplug.d/iface/00-netstate')
-rw-r--r--package/base-files/files/etc/hotplug.d/iface/00-netstate5
1 files changed, 0 insertions, 5 deletions
diff --git a/package/base-files/files/etc/hotplug.d/iface/00-netstate b/package/base-files/files/etc/hotplug.d/iface/00-netstate
deleted file mode 100644
index 37b1e93..0000000
--- a/package/base-files/files/etc/hotplug.d/iface/00-netstate
+++ /dev/null
@@ -1,5 +0,0 @@
-[ 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" ifname "$DEVICE"
-}