mirror of
https://github.com/outbackdingo/openwrt.git
synced 2026-02-16 23:50:21 +00:00
base-files: config_generate: do not remove previously generated interfaces
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47647
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user