Make setup-rtc scripts executable

This commit is contained in:
Satu Koskinen 2022-10-22 15:56:50 +03:00
parent 7a91d90a7c
commit 48158a6d4d
2 changed files with 0 additions and 3 deletions

0
scripts/setup-rtc-1.sh Normal file → Executable file
View File

3
scripts/setup-rtc-2.sh Normal file → Executable file
View File

@ -15,16 +15,13 @@ exit 0
EOF
# Set system time to Internet time
echo "Restarting systmd-timesyncd to update system time"
sudo systemctl restart systemd-timesyncd
echo "System time now:"
date
# Write system time to the RTC module
echo "Hardware clock time now:"
sudo hwclock -r