mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 10:42:26 +02:00
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
This commit is contained in:
parent
e268859596
commit
c8c1a02da5
@ -119,8 +119,8 @@ set_interface_ifname() {
|
|||||||
local ifname="$2"
|
local ifname="$2"
|
||||||
|
|
||||||
config_get device "$1" device
|
config_get device "$1" device
|
||||||
uci_set_state "network.$config.ifname=$ifname"
|
uci_set_state network "$config" ifname "$ifname"
|
||||||
uci_set_state "network.$config.device=$device"
|
uci_set_state network "$config" device "$device"
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_interface() {
|
setup_interface() {
|
||||||
|
Loading…
Reference in New Issue
Block a user