From e126b2770a3e5f94a01c7f3f1c9a2eb2769c9301 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 14 Jun 2025 00:52:49 -0600 Subject: [PATCH] 1.2-dev --- debug-level-conf/root-crontab | 4 ++-- installer3.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debug-level-conf/root-crontab b/debug-level-conf/root-crontab index 711161a..721d15e 100644 --- a/debug-level-conf/root-crontab +++ b/debug-level-conf/root-crontab @@ -1,3 +1,3 @@ # m h dom mon dow command -# set hardware I2C RTC every 5 minutes -*/5 * * * * bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log" +# set hardware I2C RTC hourly +0 * * * * bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log" diff --git a/installer3.sh b/installer3.sh index 54f183f..0d52336 100644 --- a/installer3.sh +++ b/installer3.sh @@ -68,10 +68,12 @@ fi ## self echo "Giving $username the right permissions..." sudo usermod -aG dialout $username +sudo usermod -a -G i2c $username ## service users echo "Giving service users the right permissions..." sudo usermod -aG dialout gpsd sudo usermod -aG dialout _chrony +sudo usermod -a -G i2c _chrony echo "installer3.sh complete" >> ./status.txt