From 0cf1a58282bacda7552d294e0f99562ece74cf22 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 3 Feb 2008 06:48:15 +0000 Subject: Here comes the new UCI. Enjoy :) SVN-Revision: 10367 --- package/base-files/files/etc/hotplug.d/iface/00-netstate | 2 +- package/base-files/files/etc/hotplug.d/iface/10-routes | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'package/base-files/files/etc/hotplug.d') 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 6bf6214..f215d29 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 7e957f7..963728f 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 ;; -- cgit v1.1