From c8c1a02da5308b5f15202e0fd0d4d7905a39d07f Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 7 Apr 2008 16:02:50 +0000 Subject: fix use of uci_set_state in network scripts (thx, netprince) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10763 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/lib/network/config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 d76c4bf96..7fa1d37e4 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -119,8 +119,8 @@ set_interface_ifname() { local ifname="$2" config_get device "$1" device - uci_set_state "network.$config.ifname=$ifname" - uci_set_state "network.$config.device=$device" + uci_set_state network "$config" ifname "$ifname" + uci_set_state network "$config" device "$device" } setup_interface() { -- cgit v1.2.3