mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-16 02:01:32 +01:00
changes
This commit is contained in:
@@ -375,10 +375,10 @@ done
|
|||||||
|
|
||||||
test -n "$NEW_TIMEZONE" && cp -fp /mnt/usr/share/zoneinfo/"$NEW_TIMEZONE" /mnt/etc/localtime
|
test -n "$NEW_TIMEZONE" && cp -fp /mnt/usr/share/zoneinfo/"$NEW_TIMEZONE" /mnt/etc/localtime
|
||||||
inchroot hwclock --systohc --utc
|
inchroot hwclock --systohc --utc
|
||||||
echo "$(T "Syncing hour to internet")";
|
|
||||||
inchroot pacman -S ntp --noconfirm
|
inchroot pacman -S ntp --noconfirm
|
||||||
inchroot systemctl enable ntpd
|
inchroot systemctl enable ntpd
|
||||||
if [[ $isoffline = 0 ]];then #Only sync if its online
|
if [[ $isoffline = 0 ]];then #Only sync if its online
|
||||||
|
echo "$(T "Syncing hour to internet")";
|
||||||
inchroot ntpd -qg
|
inchroot ntpd -qg
|
||||||
inchroot hwclock -w
|
inchroot hwclock -w
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user