mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-29 16:07:40 +01:00
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:
@@ -1,3 +1,5 @@
|
||||
- Fix passwordless terminal
|
||||
|
||||
## 2025.12-05 (2025-12-20)
|
||||
- Minor bugs fixed
|
||||
## 2025.12-04 (2025-12-19)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user