use the right hotplug2 invocation for initramfs
[openwrt.git] / package / base-files / files / lib / network / config.sh
index d76c4bf..7fa1d37 100755 (executable)
@@ -119,8 +119,8 @@ set_interface_ifname() {
        local ifname="$2"
 
        config_get device "$1" device
        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() {
 }
 
 setup_interface() {
This page took 0.021674 seconds and 4 git commands to generate.