From afa5da1d1bf575000d260e9abe26d47b94e3e117 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 3 Feb 2008 06:48:15 +0000 Subject: Here comes the new UCI. Enjoy :) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/lib/network/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files/lib/network') diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index 98d6f13509..611da718cd 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -140,7 +140,7 @@ setup_interface() { config_get macaddr "$config" macaddr grep "$iface:" /proc/net/dev > /dev/null && \ $DEBUG ifconfig "$iface" ${macaddr:+hw ether "$macaddr"} ${mtu:+mtu $mtu} up - uci set "/var/state/network.$config.ifname=$iface" + uci_set_state network "$config" ifname "$iface" pidfile="/var/run/$iface.pid" case "$proto" in -- cgit v1.2.3