diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-20 15:01:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-20 15:01:06 +0000 |
commit | c2b5767572c7cece21f7739e416d59458278b7d8 (patch) | |
tree | bbb6d468090141c8fe0367f573272ec8289fa755 /package/base-files/files/etc/hotplug.d/iface/00-netstate | |
parent | fce837994043793008be610cb24154d649c7b190 (diff) | |
download | mtk-20170518-c2b5767572c7cece21f7739e416d59458278b7d8.zip mtk-20170518-c2b5767572c7cece21f7739e416d59458278b7d8.tar.gz mtk-20170518-c2b5767572c7cece21f7739e416d59458278b7d8.tar.bz2 |
base-files: move network related scripts to a separate package to make the transition to netifd easier
SVN-Revision: 28495
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-netstate | 5 |
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" -} |