diff options
| author | Blake Romero <blake@blkrom.com> | 2024-04-17 15:27:37 +0100 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2024-04-17 15:27:37 +0100 |
| commit | 713bb70b541eb8a316b36fb2a6da1ba420d15a3e (patch) | |
| tree | 9670fecdb30139eb93e235420d47dc7245e8fc71 | |
| parent | d92b990b99ceb7a6b859505c64683625cc8a2ff0 (diff) | |
Enable openntpd during setup & fix enabling dinit services
| -rwxr-xr-x | install-artix.sh | 6 |
1 files changed, 5 insertions, 1 deletions
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 |
