From 97baeb2fa47f69f6c3e5871efe1b99515f990527 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 25 Nov 2015 15:43:43 +0000 Subject: [PATCH] base-files: config_generate: do not remove previously generated interfaces Signed-off-by: Jo-Philipp Wich SVN-Revision: 47647 --- package/base-files/files/bin/config_generate | 2 -- 1 file changed, 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'