From: Roy Marples Date: Tue, 9 Aug 2022 16:56:44 +0000 (+0100) Subject: Respect DHCPv6 for prior X-Git-Tag: v10.0.0~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c872b2d6e074e71a622be8be5318989c7b83240b;p=thirdparty%2Fdhcpcd.git Respect DHCPv6 for prior --- diff --git a/hooks/50-timesyncd.conf b/hooks/50-timesyncd.conf index 7cf78b17..8ebd09c1 100644 --- a/hooks/50-timesyncd.conf +++ b/hooks/50-timesyncd.conf @@ -33,6 +33,13 @@ add_timesyncd_conf() fi } +# For ease of use, map DHCP6 names onto our DHCP4 names +case "$reason" in +BOUND6|RENEW6|REBIND6|REBOOT6|INFORM6) + new_ntp_servers="$new_dhcp6_sntp_servers" +;; +esac + if $if_configured; then if $if_up; then add_timesyncd_conf