diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-11-25 15:43:43 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-11-25 15:43:43 +0000 |
commit | 97baeb2fa47f69f6c3e5871efe1b99515f990527 (patch) | |
tree | 84353d5226715a91a7dc6fe68d5336ce760a7f31 /package/base-files/files/bin | |
parent | 63c2111e86253763ed9409638db57e9c063f476c (diff) | |
download | upstream-97baeb2fa47f69f6c3e5871efe1b99515f990527.tar.gz upstream-97baeb2fa47f69f6c3e5871efe1b99515f990527.tar.bz2 upstream-97baeb2fa47f69f6c3e5871efe1b99515f990527.zip |
base-files: config_generate: do not remove previously generated interfaces
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47647
Diffstat (limited to 'package/base-files/files/bin')
-rwxr-xr-x | package/base-files/files/bin/config_generate | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate index 29fec8e946..64e0888368 100755 --- a/package/base-files/files/bin/config_generate +++ b/package/base-files/files/bin/config_generate @@ -183,7 +183,6 @@ calculate_switch_vlans() { ;; esac uci -q batch <<-EOF - delete network.$role set network.$role='interface' set network.$role.ifname='$device' EOF @@ -199,7 +198,6 @@ calculate_switch_vlans() { ;; wan) uci -q batch <<-EOF set network.wan.proto='dhcp' - delete network.wan6 set network.wan6='interface' set network.wan6.ifname='$device' set network.wan6.proto='dhcpv6' |