mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-17 10:41:32 +01:00
ntpdinstall
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user