diff options
Diffstat (limited to 'install.sh')
| -rw-r--r-- | install.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |
