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