shellcheck / shellcheck (push) Failing after 14s
archinstall's "Copy ISO network configuration", which a user who connected with iwctl may pick, turns on iwd and systemd-networkd. CoreDesktop then turns on NetworkManager too, and after a restart two services fight over the Wi-Fi card. system/wifi.sh disables iwd and systemd-networkd, without stopping them, when NetworkManager is enabled and isn't set to use iwd itself. install.sh runs it, and a migration runs it on existing machines. The README tells users to choose NetworkManager in archinstall. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7 lines
285 B
Bash
7 lines
285 B
Bash
#!/bin/bash
|
|
|
|
# Machines set up with iwctl and archinstall's "copy ISO network configuration"
|
|
# can have iwd and systemd-networkd running alongside NetworkManager, fighting
|
|
# over the Wi-Fi card. Leave Wi-Fi to NetworkManager alone.
|
|
bash "$HOME/.local/share/coredesktop/system/wifi.sh"
|