1.2-dev
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user