mirror of https://github.com/aredn/aredn.git
Stop postupgrade from ditching the vlan info
This commit is contained in:
parent
7515d6f841
commit
1905d1a514
|
@ -107,7 +107,7 @@ do
|
||||||
end
|
end
|
||||||
|
|
||||||
-- specific settings for variables that are not in the default config but are added by the system
|
-- specific settings for variables that are not in the default config but are added by the system
|
||||||
for _, key in ipairs({ 'dmz_dhcp_end', 'dmz_dhcp_limit', 'dmz_dhcp_start', 'dmz_lan_ip', 'dmz_lan_mask', 'wifi_rxant', 'wifi_txant', 'wan_gw', 'wan_ip', 'wan_mask' })
|
for _, key in ipairs({ 'dmz_dhcp_end', 'dmz_dhcp_limit', 'dmz_dhcp_start', 'dmz_lan_ip', 'dmz_lan_mask', 'wifi_rxant', 'wifi_txant', 'wan_gw', 'wan_ip', 'wan_mask', 'wan_intf' })
|
||||||
do
|
do
|
||||||
local v = cfg[key]
|
local v = cfg[key]
|
||||||
if v then
|
if v then
|
||||||
|
|
Loading…
Reference in New Issue