diff options
| author | Blake Romero <blake@blkrom.com> | 2024-09-20 17:03:08 +0100 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2024-09-20 17:03:08 +0100 |
| commit | f3e3de6fd59ceb5b05bebb9628c703e5a6bb2853 (patch) | |
| tree | ad0e5dfbaf82c534a29f887c84e246f4414a223f /install.sh | |
| parent | 9d28af924cf70c3352f2f6f2393ee2fe7eebe860 (diff) | |
Enable iwd's DHCP when using elogind
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 |
