mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 22:43:53 +01:00
fix use of uci_set_state in network scripts (thx, netprince)
SVN-Revision: 10763
This commit is contained in:
parent
4a85d8edac
commit
3c94156b28
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user