change psk back to key
[openwrt.git] / package / base-files / files / lib / network / config.sh
index 98d6f13..611da71 100755 (executable)
@@ -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
This page took 0.024277 seconds and 4 git commands to generate.