Add messaging to explain chronyc output to log

This commit is contained in:
William Wernert
2021-03-30 15:23:57 -04:00
parent be6eb3ed6c
commit fd51b327ee

View File

@@ -746,7 +746,9 @@ configure_ntp() {
# Tell the chrony daemon to sync time & update the system time
# Since these commands only make a call to chronyd, wait after each command to make sure the changes are made
printf "Syncing chrony time to server: "
chronyc -a 'burst 4/4' && sleep 30
printf "Forcing chrony to update the time: "
chronyc -a makestep && sleep 30
}