From: Jo-Philipp Wich Date: Wed, 25 Nov 2015 15:43:43 +0000 (+0000) Subject: base-files: config_generate: do not remove previously generated interfaces X-Git-Tag: reboot~1409 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=97baeb2fa47f69f6c3e5871efe1b99515f990527;p=oweals%2Fopenwrt.git base-files: config_generate: do not remove previously generated interfaces Signed-off-by: Jo-Philipp Wich SVN-Revision: 47647 --- 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'