From f4cd777912490346bd50e150255e37dd9cf7bfc3 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 17 Mar 2020 08:01:54 -0400 Subject: [PATCH] sync time --- larbs.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/larbs.sh b/larbs.sh index d68b79b..85f2bc4 100644 --- a/larbs.sh +++ b/larbs.sh @@ -188,6 +188,10 @@ dialog --title "LARBS Installation" --infobox "Installing \`basedevel\` and \`gi installpkg curl installpkg base-devel 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 [ "$distro" = arch ] && { \ [ -f /etc/sudoers.pacnew ] && cp /etc/sudoers.pacnew /etc/sudoers # Just in case