Skip to content

Commit

Permalink
[Fix] Fixed ntpd that was not updating the date/time on boot
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCrypt0 committed Mar 23, 2019
1 parent 6e26c73 commit 47c3eee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/static/static/home/yi-hack-v4/script/system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ if [[ $(get_config SSHD) == "yes" ]] ; then
fi

if [[ $(get_config NTPD) == "yes" ]] ; then
ntpd -p time.nist.gov
# Wait until all the other processes have been initialized
sleep 5 && ntpd -p pool.ntp.org &
fi

# First run on startup, then every hour via crond
Expand Down

0 comments on commit 47c3eee

Please sign in to comment.