From d731b1222e17e0081e5e4e1fc9603b67ba0b72e3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 16:30:36 +0200 Subject: Adding debian version 2.38.1-5. Signed-off-by: Daniel Baumann --- debian/hwclock-set | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 debian/hwclock-set (limited to 'debian/hwclock-set') diff --git a/debian/hwclock-set b/debian/hwclock-set new file mode 100755 index 0000000..fec65ed --- /dev/null +++ b/debian/hwclock-set @@ -0,0 +1,12 @@ +#!/bin/sh +# Reset the System Clock to UTC if the hardware clock from which it +# was copied by the kernel was in localtime. + +dev=$1 + +if [ -e /run/systemd/system ] ; then + exit 0 +fi + +/sbin/hwclock --rtc=$dev --systz +/sbin/hwclock --rtc=$dev --hctosys -- cgit v1.2.3