diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-02-03 06:48:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-02-03 06:48:15 +0000 |
commit | 2f8b5f8c289f6712532a4bb68ec6b9f991661ad0 (patch) | |
tree | 20d8c580675afbba4a8238eaa677d3f0fe438323 /package/base-files/files/lib/network/config.sh | |
parent | 6cecfe7d324728d6937ae7542185226e5c2b5e2a (diff) | |
download | master-187ad058-2f8b5f8c289f6712532a4bb68ec6b9f991661ad0.tar.gz master-187ad058-2f8b5f8c289f6712532a4bb68ec6b9f991661ad0.tar.bz2 master-187ad058-2f8b5f8c289f6712532a4bb68ec6b9f991661ad0.zip |
Here comes the new UCI. Enjoy :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/lib/network/config.sh')
-rwxr-xr-x | package/base-files/files/lib/network/config.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |