summaryrefslogtreecommitdiff
path: root/larbs.sh
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-03-17 08:01:54 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-03-17 08:01:54 -0400
commitf4cd777912490346bd50e150255e37dd9cf7bfc3 (patch)
tree08a1edccbfc78fc44f66da337b5ba42b251ccfb6 /larbs.sh
parente76c41bd9733eb795d484b14a355d496d31f2b2f (diff)
sync time
Diffstat (limited to 'larbs.sh')
-rw-r--r--larbs.sh4
1 files changed, 4 insertions, 0 deletions
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