This commit is contained in:
2025-06-14 00:52:49 -06:00
parent 9aa1236c00
commit e126b2770a
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -1,3 +1,3 @@
# m h dom mon dow command # m h dom mon dow command
# set hardware I2C RTC every 5 minutes # set hardware I2C RTC hourly
*/5 * * * * bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log" 0 * * * * bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log"
+2
View File
@@ -68,10 +68,12 @@ fi
## self ## self
echo "Giving $username the right permissions..." echo "Giving $username the right permissions..."
sudo usermod -aG dialout $username sudo usermod -aG dialout $username
sudo usermod -a -G i2c $username
## service users ## service users
echo "Giving service users the right permissions..." echo "Giving service users the right permissions..."
sudo usermod -aG dialout gpsd sudo usermod -aG dialout gpsd
sudo usermod -aG dialout _chrony sudo usermod -aG dialout _chrony
sudo usermod -a -G i2c _chrony
echo "installer3.sh complete" >> ./status.txt echo "installer3.sh complete" >> ./status.txt