aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-04-07 16:02:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-04-07 16:02:50 +0000
commit3c94156b28161066adf9ce915e1af7f775bf77ff (patch)
treed11c840a249a2ec5328574b28f833020f2ddb153 /package/base-files/files
parent4a85d8edac589a62d9ef40ae90755dc14a3beafc (diff)
downloadupstream-3c94156b28161066adf9ce915e1af7f775bf77ff.tar.gz
upstream-3c94156b28161066adf9ce915e1af7f775bf77ff.tar.bz2
upstream-3c94156b28161066adf9ce915e1af7f775bf77ff.zip
fix use of uci_set_state in network scripts (thx, netprince)
SVN-Revision: 10763
Diffstat (limited to 'package/base-files/files')
-rwxr-xr-xpackage/base-files/files/lib/network/config.sh4
1 files changed, 2 insertions, 2 deletions
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() {