mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-22 21:13:44 +01:00
Offline fixes
This commit is contained in:
@@ -91,8 +91,12 @@ hwclock --systohc --utc
|
||||
echo "$(T "Syncing hour to internet")";
|
||||
pacman -S ntp --noconfirm
|
||||
systemctl enable ntpd
|
||||
if [[ isoffline = 0 ]];then
|
||||
ntpd -qg
|
||||
hwclock -w
|
||||
else
|
||||
echo "Clock will not be okay until restart and configure manually because you dont have net"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user