From: Oleg Broytman Date: Sat, 7 May 2022 14:19:44 +0000 (+0300) Subject: Feat(adjtimex): Use `hwclock --update-drift` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=9e819bff72d8ee2a3186d8ecae647ad1d432b85e;p=ansible.git Feat(adjtimex): Use `hwclock --update-drift` --- 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 &&