summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--install.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 3d89926..a89c482 100644
--- a/install.sh
+++ b/install.sh
@@ -308,9 +308,13 @@ sed "s/# Misc options/# Misc options\n${pac_options}/g" \
# Enable firewall
sed "s/ENABLED=no/ENABLED=yes/" -i /mnt/etc/ufw/ufw.conf
-# Enable turnstile rundir
if [[ "${elogind}" == false ]]; then
+ # Manage rundir with turnstile when not using elogind
sed "s/manage_rundir = no/manage_rundir = yes/" -i /mnt/etc/turnstile/turnstiled.conf
+else
+ # Use iwd's DHCP client instead of dhcpcd when using elogind
+ [[ ! -d /mnt/etc/iwd ]] && mkdir /mnt/etc/iwd
+ printf "[General]\nEnableNetworkConfiguration=true\n" > /mnt/etc/iwd/main.conf
fi
# Set MAKEFLAGS to match CPU threads for faster compiling