Skip to content

A live bird collage card for your Home Assistant dashboard.

fixup

frederik559f29c37af9
diff --git a/scripts/install_services.sh b/scripts/install_services.sh
index 8faf53d5..1f33a576 100755
--- a/scripts/install_services.sh
+++ b/scripts/install_services.sh
@@ -319,7 +319,7 @@ RestartSec=3
Type=simple
User=${USER}
Environment=TERM=xterm-256color
-ExecStart=/usr/local/bin/gotty --address localhost -w -p 8888 --path terminal --title-format "BirdNET-Pi Terminal" bash -c 'read -p "Login: " username && [[ "$username" =~ ^[-_.a-z0-9]{1,30}$ ]] && su --pty -l $username'
+ExecStart=/usr/local/bin/gotty --address localhost -w -p 8888 --path terminal --title-format "BirdNET-Pi Terminal" bash -c 'read -p "Login: " username && [[ "\$username" =~ ^[-_.a-z0-9]{1,30}$ ]] && su --pty -l \$username'
[Install]
WantedBy=multi-user.target
EOF