dnsmasq: skip DNS update script when starting up

This commit is contained in:
Timotej Lazar 2025-02-06 09:14:53 +01:00
parent e95603fda9
commit bfda7b3236

View file

@ -1,5 +1,10 @@
#!/bin/sh
# don’t spam the DNS server when starting dnsmasq
if [ -n "${DNSMASQ_INTERFACE}" ] ; then
exit
fi
domain={{ domain }}
ldap_user={{ password.ldap_user }}
ttl=3600