We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1d4c14 commit 30f3244Copy full SHA for 30f3244
build-image/first-boot.bash
@@ -107,6 +107,15 @@ if is_trixie || is_bookworm && is_pi; then # attention no brackets => left-assoc
107
systemctl enable --now NetworkManager
108
nmcli g
109
nmcli r wifi on
110
+
111
+ # Wait until Wi-Fi scan results become available
112
+ echo "$(timestamp) [openHABian] Waiting for Wi-Fi scan readiness..."
113
+ tryUntil "nmcli -t -f SSID dev wifi | grep -q ." 10 3
114
115
+ # Apply Wi-Fi country code once Wi-Fi subsystem is ready
116
+ if [[ -n "$wifi_country" ]]; then
117
+ raspi-config nonint do_wifi_country "$wifi_country"
118
+ fi
119
120
if [[ -n $wifiSSID ]]; then
121
# Setup WiFi via NetworkManager
0 commit comments