diff --git a/resources/templates/provision/yealink/t42s/y000000000067.cfg b/resources/templates/provision/yealink/t42s/y000000000067.cfg index 7555c27529..d708d44d73 100644 --- a/resources/templates/provision/yealink/t42s/y000000000067.cfg +++ b/resources/templates/provision/yealink/t42s/y000000000067.cfg @@ -58,12 +58,13 @@ static.network.span_to_pc_port = static.network.vlan.pc_port_mode = static.network.static_dns_enable = static.network.pc_port.enable = -static.network.primary_dns = {$dns_server_primary} -static.network.secondary_dns = {$dns_server_secondary} static.network.internet_port.gateway = static.network.internet_port.mask = static.network.internet_port.ip = static.network.internet_port.type = +{if isset($dns_server_primary)}network.primary_dns = {$dns_server_primary}{/if} + +{if isset($dns_server_secondary)}network.secondary_dns = {$dns_server_secondary}{/if} ####################################################################################### @@ -89,7 +90,7 @@ static.network.internet_port.speed_duplex = ####################################################################################### ## Network LLDP ## ####################################################################################### -static.network.lldp.enable = +static.network.lldp.enable = {$yealink_lldp_enable} static.network.lldp.packet_interval =