mirror of https://github.com/aredn/aredn.git
bugfix: OTA Upgrade fails with static WAN.
Wan interface settings are not correctly copied
over after an OTA causing node-setup to fail
when using a static WAN ip.
fixes->AREDN🎫226
Change-Id: I494c05bc0047f1db4c1452cbdbd8e236f4fcd945
This commit is contained in:
parent
60e2310917
commit
e5fc675cfc
|
@ -66,7 +66,7 @@ foreach $variable( sort keys %defaultcfg )
|
|||
}
|
||||
|
||||
# Specific settings for variables that are not in the default config but are added by the system
|
||||
foreach $variable( 'dmz_dhcp_end', 'dmz_dhcp_limit', 'dmz_dhcp_start', 'dmz_lan_ip', 'dmz_lan_mask', 'wifi_rxant', 'wifi_txant' )
|
||||
foreach $variable( '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' )
|
||||
{
|
||||
if ( defined $cfg{$variable} )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue