Files
Precision-Timekeeping-Fuckery/old/warn-level-conf/hwclock-set
T
2026-05-26 20:41:02 -06:00

12 lines
272 B
Bash

#!/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