File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ if ! source "/opt/openhabian/functions/helpers.bash"; then echo "FAILED (source
4141if ! source " /opt/openhabian/functions/wifi.bash" ; then echo " FAILED (source wifi)" ; fail_inprogress; fi
4242if source " /opt/openhabian/functions/openhabian.bash" ; then echo " OK" ; else echo " FAILED (source openhabian)" ; fail_inprogress; fi
4343
44- if ! is_bookworm; then
45- rfkill unblock wifi # Wi-Fi is blocked by Raspi OS default since bullseye(?)
44+ if ! is_trixie || ! is_bookworm; then
45+ rfkill unblock wifi # Wi-Fi is blocked by Raspi OS default since bullseye
4646fi
4747webserver=/boot/webserver.bash
4848[[ -f /boot/firmware/webserver.bash ]] && ln -s /boot/firmware/webserver.bash " $webserver "
@@ -102,7 +102,7 @@ hotSpot=${hotspot:-enable}
102102wifiSSID=" $wifi_ssid "
103103# shellcheck source=/etc/openhabian.conf disable=SC2154
104104wifiPassword=" $wifi_password "
105- if is_pi && is_bookworm ; then
105+ if is_trixie || is_bookworm && is_pi ; then # attention no brackets => left-associative ordering so put && last
106106 echo -n " $( timestamp) [openHABian] Setting up NetworkManager and Wi-Fi connection... "
107107 systemctl enable --now NetworkManager
108108 nmcli r wifi on
You can’t perform that action at this time.
0 commit comments