1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-17 10:41:32 +01:00

ntpdinstall

This commit is contained in:
kprkpr
2016-08-21 12:50:45 +02:00
parent 8aa065df0e
commit 31fd5a3285
3 changed files with 24 additions and 12 deletions

View File

@@ -81,6 +81,11 @@ echo "$(T "Now select your timezone for adjusting the clock")"
NEW_TIMEZONE=$(tzselect)
test -n "$NEW_TIMEZONE" && cp -fp /usr/share/zoneinfo/"$NEW_TIMEZONE" /etc/localtime
hwclock --systohc --utc
echo "$(T "Syncing hour to internet")";
pacman -S ntp --noconfirm
systemctl enable ntpd
ntpd -qg
hwclock -w
}