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