Merge pull request #2394 from moaead/fix/issue-2393-web-terminal-login

fix(birdnet-pi): enable web terminal login when no password is set
This commit is contained in:
Alexandre
2026-01-21 07:07:25 +01:00
committed by GitHub
3 changed files with 6 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
- Fix passwordless terminal
## 2025.12-05 (2025-12-20)
- Minor bugs fixed
## 2025.12-04 (2025-12-19)

View File

@@ -116,5 +116,5 @@ tmpfs: true
udev: true
url: https://github.com/alexbelgium/hassio-addons/tree/master/birdnet-pi
usb: true
version: 2025.12-05
version: 2026.01.21
video: true

View File

@@ -30,7 +30,9 @@ if [[ -n "${PI_PASSWORD:-}" ]]; then
echo "pi:${PI_PASSWORD}" | chpasswd
bashio::log.info "Password set successfully for user pi."
else
bashio::log.info "No password specified for user pi. Keeping existing password."
# Set empty password to allow web terminal login when no password is configured
passwd -d pi
bashio::log.info "No password specified for user pi. Enabled passwordless login."
fi
# Use timezone defined in add-on options if available