Make setup-rtc scripts executable
This commit is contained in:
parent
7a91d90a7c
commit
48158a6d4d
0
scripts/setup-rtc-1.sh
Normal file → Executable file
0
scripts/setup-rtc-1.sh
Normal file → Executable file
3
scripts/setup-rtc-2.sh
Normal file → Executable file
3
scripts/setup-rtc-2.sh
Normal file → Executable 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user