From 9e819bff72d8ee2a3186d8ecae647ad1d432b85e Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 7 May 2022 17:19:44 +0300 Subject: [PATCH] Feat(adjtimex): Use `hwclock --update-drift` --- playbooks/roles/adjtimex/templates/adjtimex.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/adjtimex/templates/adjtimex.sh b/playbooks/roles/adjtimex/templates/adjtimex.sh index 4e39b45..8721907 100755 --- a/playbooks/roles/adjtimex/templates/adjtimex.sh +++ b/playbooks/roles/adjtimex/templates/adjtimex.sh @@ -17,7 +17,7 @@ host 3.debian.pool.ntp.org ntpdate{% if ansible_facts.os_family == 'Debian' %}-debian{% endif %} && { echo; echo; } | adjtimex -l && -hwclock --systohc && +hwclock --systohc --update-drift && { echo; echo; } | adjtimex -l && hwclock --hctosys && -- 2.39.5