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/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