From 713bb70b541eb8a316b36fb2a6da1ba420d15a3e Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Wed, 17 Apr 2024 15:27:37 +0100 Subject: Enable openntpd during setup & fix enabling dinit services --- install-artix.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install-artix.sh b/install-artix.sh index 93566aa..527577e 100755 --- a/install-artix.sh +++ b/install-artix.sh @@ -54,6 +54,9 @@ echo "Checking for internet connection..." ping -c 3 artixlinux.org &> /dev/null \ || { echo "No internet connection found"; exit; } +# Sync clock +dinitctl start ntpd + # Read password echo "Enter a password for ${user} (also used for encryption if enabled)" while true; do @@ -223,7 +226,8 @@ basestrap /mnt {iwd,dhcpcd,openntpd,cronie,openssh,ufw,dbus}-dinit services="dbus ufw iwd dhcpcd openntpd cronie" # NOTE: do not quote 'services' variable or space is ignored for service in ${services}; do - artix-chroot /mnt bash -c dinitctl enable $service + artix-chroot /mnt bash -c \ + "ln -s /etc/dinit.d/$service /etc/dinit.d/boot.d/" done # Generate file-system table -- cgit