diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-02-03 06:48:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-02-03 06:48:15 +0000 |
commit | 0cf1a58282bacda7552d294e0f99562ece74cf22 (patch) | |
tree | f1c533f73a26f5da018025fae277a27c84ecdfc0 /package/base-files/files/etc/hotplug.d/iface | |
parent | 32f2870131750e44e5a73f6255f077cddca2bca1 (diff) | |
download | upstream-0cf1a58282bacda7552d294e0f99562ece74cf22.tar.gz upstream-0cf1a58282bacda7552d294e0f99562ece74cf22.tar.bz2 upstream-0cf1a58282bacda7552d294e0f99562ece74cf22.zip |
Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
Diffstat (limited to 'package/base-files/files/etc/hotplug.d/iface')
-rw-r--r-- | package/base-files/files/etc/hotplug.d/iface/00-netstate | 2 | ||||
-rw-r--r-- | package/base-files/files/etc/hotplug.d/iface/10-routes | 1 |
2 files changed, 1 insertions, 2 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 index 6bf6214375..f215d29b53 100644 --- a/package/base-files/files/etc/hotplug.d/iface/00-netstate +++ b/package/base-files/files/etc/hotplug.d/iface/00-netstate @@ -1,3 +1,3 @@ [ ifup = "$ACTION" ] && { - uci set "/var/state/network.$INTERFACE.up=1" + uci_set_state network "$INTERFACE" up 1 } diff --git a/package/base-files/files/etc/hotplug.d/iface/10-routes b/package/base-files/files/etc/hotplug.d/iface/10-routes index 7e957f7f13..963728faf3 100644 --- a/package/base-files/files/etc/hotplug.d/iface/10-routes +++ b/package/base-files/files/etc/hotplug.d/iface/10-routes @@ -63,7 +63,6 @@ case "$ACTION" in ifup) include /lib/network scan_interfaces - . /var/state/network config_foreach "add_route" route config_foreach "add_route6" route6 ;; |