Different iwd needed on chroot install

This commit is contained in:
David Heinemeier Hansson 2025-08-19 14:18:13 +02:00
parent 6de4591a28
commit 21f60a960b

View File

@ -4,7 +4,12 @@
# This can happen if archinstall used ethernet
if ! command -v iwctl &>/dev/null; then
yay -S --noconfirm --needed iwd
sudo systemctl enable --now iwd.service
if [ -n "${OMARCHY_CHROOT_INSTALL:-}" ]; then
sudo systemctl enable iwd.service
else
sudo systemctl enable --now iwd.service
fi
fi
# Prevent systemd-networkd-wait-online timeout on boot