Moved PiRTC to Projects

This commit is contained in:
2021-05-29 19:43:42 -04:00
parent 6a814176e9
commit 9a1c593649
2 changed files with 0 additions and 0 deletions

17
Projects/PiRTC/setup.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
# check
sudo i2cdetect -y 1
# remove fake
sudo apt-get -y remove fake-hwclock
sudo update-rc.d -f fake-hwclock remove
sudo systemctl disable fake-hwclock
# device
cp hwclock-set /lib/udev/hwclock-set
# set
sudo hwclock -r
sudo hwclock -w
sudo hwclock -r