aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/base-files/files/bin/config_generate2
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'