From d4956fb60e89408b876cea93f9c93350cfa0257e Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Fri, 13 Jun 2025 14:03:04 -0600 Subject: [PATCH] 1749844985 --- reconfig_full.sh | 2 ++ working-debug-level-conf-dev/hwclock-set | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 working-debug-level-conf-dev/hwclock-set diff --git a/reconfig_full.sh b/reconfig_full.sh index 31ce4d1..a119138 100644 --- a/reconfig_full.sh +++ b/reconfig_full.sh @@ -16,6 +16,7 @@ influxdb="/etc/influxdb/influxdb.conf" telegraf="/etc/telegraf/telegraf.conf" udev_rule="/etc/udev/rules.d/50-tty.rules" bootfirmwareconfig="/boot/firmware/config.txt" +hwclockset="/lib/udev/hwclock-set" ## new conf file paths gpsd_new=""$1/gpsd"" chrony_new="$1/chrony.conf" @@ -24,6 +25,7 @@ influxdb_new="$1/influxdb.conf" telegraf_new="$1/telegraf.conf" udev_new="$1/50-tty.rules" bootfirmwareconfig_new="$1/boot-firmware-config.txt" +hwclockset_new="$1/hwclock-set" # stop da services bash ./services.sh stop 1>/dev/null 2>/dev/null diff --git a/working-debug-level-conf-dev/hwclock-set b/working-debug-level-conf-dev/hwclock-set new file mode 100644 index 0000000..3d3a3b1 --- /dev/null +++ b/working-debug-level-conf-dev/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 \ No newline at end of file