From 1bed00366d1e4430976a5e96d643b1d624428b2e Mon Sep 17 00:00:00 2001 From: mergwyn Date: Wed, 16 Oct 2024 19:36:37 +0100 Subject: [PATCH] Don;t sleep - only primary updates dhcp/dns --- site-modules/profile/files/dhcp/dhcp-dyndns.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-modules/profile/files/dhcp/dhcp-dyndns.sh b/site-modules/profile/files/dhcp/dhcp-dyndns.sh index b3185413..a336ff3f 100755 --- a/site-modules/profile/files/dhcp/dhcp-dyndns.sh +++ b/site-modules/profile/files/dhcp/dhcp-dyndns.sh @@ -51,7 +51,7 @@ usage() { log_info "DHCP-DNS Update started: $*" -$(grep -E '^[ ]*secondary;' /etc/dhcp/dhcpd.conf > /dev/null) && sleep 15 +#$(grep -E '^[ ]*secondary;' /etc/dhcp/dhcpd.conf > /dev/null) && sleep 15 dhcpduser=dhcp