From 3fb4b8337771ae4cc25fa9c017e408b52d4627b0 Mon Sep 17 00:00:00 2001 From: JKANetwork Date: Wed, 18 Jan 2017 20:21:13 +0100 Subject: [PATCH] Fix ntpd hang doing it in background --- archinstall/archinstall-dev.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/archinstall/archinstall-dev.sh b/archinstall/archinstall-dev.sh index 3bf601e..3f9c544 100755 --- a/archinstall/archinstall-dev.sh +++ b/archinstall/archinstall-dev.sh @@ -670,9 +670,8 @@ function installconf { execl chroot hwclock --systohc --utc execl chroot systemctl enable ntpd if [[ $isoffline = 0 ]];then #Only sync if its online - echo "$(T "Syncing hour to internet")"; - execl chroot ntpd -qg - execl chroot hwclock -w + echo "$(T "Syncing hour to internet in background")"; + execl chroot (ntpd -qg && && hwclock -w) &> /dev/null else echo "Clock will not be okay until restart and configure manually because you dont have net" fi