fix: Correct ntpdate command

This commit is contained in:
Jackson Law 2020-04-24 02:57:13 -07:00 committed by GitHub
parent 268943c9c4
commit 2c1eb62b0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -191,7 +191,7 @@ installpkg git
installpkg ntp
dialog --title "LARBS Installation" --infobox "Synchronizing system time to ensure successful and secure installation of software..." 4 70
ntp 0.us.pool.ntp.org >/dev/null 2>&1
ntpdate 0.us.pool.ntp.org >/dev/null 2>&1
[ "$distro" = arch ] && { \
[ -f /etc/sudoers.pacnew ] && cp /etc/sudoers.pacnew /etc/sudoers # Just in case