1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-15 09:41:31 +01:00
This commit is contained in:
kprkpr
2016-09-28 20:49:34 +02:00
parent c6f3853b5d
commit 9fa8e0c98c

View File

@@ -375,10 +375,10 @@ done
test -n "$NEW_TIMEZONE" && cp -fp /mnt/usr/share/zoneinfo/"$NEW_TIMEZONE" /mnt/etc/localtime
inchroot hwclock --systohc --utc
echo "$(T "Syncing hour to internet")";
inchroot pacman -S ntp --noconfirm
inchroot systemctl enable ntpd
if [[ $isoffline = 0 ]];then #Only sync if its online
echo "$(T "Syncing hour to internet")";
inchroot ntpd -qg
inchroot hwclock -w
else