diff --git a/scripts/fast-reboot b/scripts/fast-reboot index 24b818a25d..0990551e5a 100755 --- a/scripts/fast-reboot +++ b/scripts/fast-reboot @@ -902,6 +902,7 @@ sleep 1 sync # sync the current system time to CMOS +systemctl stop hwclock.service hwclock.timer if [ -x /sbin/hwclock ]; then /sbin/hwclock -w || /bin/true fi diff --git a/scripts/reboot b/scripts/reboot index 044334af3e..379d0379ac 100755 --- a/scripts/reboot +++ b/scripts/reboot @@ -255,6 +255,7 @@ sync sleep 3 # sync the current system time to CMOS +systemctl stop hwclock.service hwclock.timer if [ -x /sbin/hwclock ]; then /sbin/hwclock -w || /bin/true fi