mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
ae837498a3
WiFi was refactored from connman to iwd (wifictl uses iwctl), but iwd is dbus-activated and nothing re-associates it to the saved network at boot. The result: a unit rebooted with WiFi on comes up with the ES toggle showing active but no connection, and the user has to flip the toggle off and on to reconnect. The ES "Enable WiFi" toggle reconnects via `wifictl enable` (rfkill unblock) + `wifictl connect` (scan + associate to the saved iwd profile, ApiSystem::enableWifi). Mirror that in 099-networkservices, which already owns the network domain at boot and runs after network.target. The connect is backgrounded so the scan does not delay the UI, and wifictl no-ops when there is no WiFi device. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>