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

Offline fixes

This commit is contained in:
kprkpr
2016-09-24 00:01:49 +02:00
parent b7bb98191d
commit 1ca1878a78
2 changed files with 5 additions and 0 deletions

View File

@@ -292,6 +292,7 @@ if [[ $isoffline = "0" ]];then
reflector --verbose -l 6 --sort rate --save /etc/pacman.d/mirrorlist
tput setaf 2 ; echo "$(T "Downloading")" ; tput setaf 9
pacstrap -C /tmp/pacman.conf /mnt/ base btrfs-progs jkarch-mirrorlist
mv pacman.conf /mnt/etc/pacman.conf
fi
if [[ $isoffline = "1" ]];then
tput setaf 2 ; echo "$(T "Installing packages")..." ; tput setaf 9

View File

@@ -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
}