diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-12-11 15:19:43 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-12-11 15:19:43 +0000 |
commit | b0b8293b7e0cf6102dca56b47bf25a92b8feba66 (patch) | |
tree | 4d83bfa19960b6b4ce9454168228aa6350c49c55 /target/linux/brcm47xx/base-files/etc/uci-defaults | |
parent | 244173a09392e3b9beb02305e4b4036572044f21 (diff) | |
download | upstream-b0b8293b7e0cf6102dca56b47bf25a92b8feba66.tar.gz upstream-b0b8293b7e0cf6102dca56b47bf25a92b8feba66.tar.bz2 upstream-b0b8293b7e0cf6102dca56b47bf25a92b8feba66.zip |
brcm47xx: migrate network config to board detection framework
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47866
Diffstat (limited to 'target/linux/brcm47xx/base-files/etc/uci-defaults')
-rw-r--r-- | target/linux/brcm47xx/base-files/etc/uci-defaults/03_network_migration | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/brcm47xx/base-files/etc/uci-defaults/03_network_migration b/target/linux/brcm47xx/base-files/etc/uci-defaults/03_network_migration index cef5add106..912fe96224 100644 --- a/target/linux/brcm47xx/base-files/etc/uci-defaults/03_network_migration +++ b/target/linux/brcm47xx/base-files/etc/uci-defaults/03_network_migration @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2014 OpenWrt.org +# Copyright (C) 2014-2015 OpenWrt.org # uci show network | grep "\.vlan=0" @@ -15,8 +15,8 @@ local wan_proto="$(uci -q get network.wan.proto)" local wan_ipaddr="$(uci -q get network.wan.ipaddr)" local wan_netmask="$(uci -q get network.wan.netmask)" -rm /etc/config/network -/etc/init.d/netconfig start +echo "" > /etc/config/network +config_generate uci set network.lan.proto=$lan_proto uci set network.lan.ipaddr=$lan_ipaddr |