fix use of uci_set_state in network scripts (thx, netprince)

SVN-Revision: 10763
lede-17.01
Felix Fietkau 2008-04-07 16:02:50 +00:00
parent 4a85d8edac
commit 3c94156b28
1 changed files with 2 additions and 2 deletions

View File

@ -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() {