From b21b958c87d93e6b3e007258c241914d4f6af0ed Mon Sep 17 00:00:00 2001 From: f18m Date: Fri, 29 Nov 2024 01:16:32 +0100 Subject: [PATCH] f --- rootfs/usr/share/tempio/dnsmasq.config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rootfs/usr/share/tempio/dnsmasq.config b/rootfs/usr/share/tempio/dnsmasq.config index 69f6db2..ede7316 100644 --- a/rootfs/usr/share/tempio/dnsmasq.config +++ b/rootfs/usr/share/tempio/dnsmasq.config @@ -51,12 +51,14 @@ dhcp-range={{ .dhcp_range.start_ip }},{{ .dhcp_range.end_ip }},{{ .network.netma # Set gateway -- i.e. option #3 of DHCP specs dhcp-option=3,{{ .network.gateway }} +{{ if not .dns_server.enable }} {{ if .network.dns }} {{ if gt (len .network.dns) 0 }} # Set DNS server(s)) -- i.e. option #6 of DHCP specs dhcp-option=6{{ range .network.dns }},{{ . }}{{ end }} {{ end }} {{ end }} +{{ end }} {{ if .network.ntp_resolved }} {{ if gt (len .network.ntp_resolved) 0 }}