From: Felix Fietkau Date: Mon, 7 Apr 2008 16:02:50 +0000 (+0000) Subject: fix use of uci_set_state in network scripts (thx, netprince) X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=f14566ebf2dbaa5c276d3d73a4dd0e7eb6005cf9;hp=2eb33034c3aacda3c7a13ca6d67a41c78574a2b1 fix use of uci_set_state in network scripts (thx, netprince) SVN-Revision: 10763 --- diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index d76c4bf962..7fa1d37e49 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() {