Skip to content

A live bird collage card for your Home Assistant dashboard.

Revert "fix: make sure we look for the correct gotty executable name"

frederikdc634838ae08
diff --git a/scripts/install_services.sh b/scripts/install_services.sh
index 7c297e50..3b3ec8f7 100755
--- a/scripts/install_services.sh
+++ b/scripts/install_services.sh
@@ -341,8 +341,6 @@ EOF
install_phpsysinfo() {
sudo -u ${USER} git clone https://github.com/phpsysinfo/phpsysinfo.git \
${HOME}/phpsysinfo
- gottyservice="gotty-$(uname -m)"
- sed -i "s/,gotty,/,${gottyservice},/g" "$HOME"/BirdNET-Pi/templates/phpsysinfo.ini
}
config_icecast() {
diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh
index 72fbe2a2..f27fcf30 100755
--- a/scripts/update_birdnet_snippets.sh
+++ b/scripts/update_birdnet_snippets.sh
@@ -172,11 +172,6 @@ if ! [ -L /etc/avahi/services/http.service ];then
systemctl restart avahi-daemon.service
fi
-if grep -q ",gotty," "$HOME/BirdNET-Pi/templates/phpsysinfo.ini" &>/dev/null; then
- gottyservice="gotty-$(uname -m)"
- sed -i "s/,gotty,/,${gottyservice},/g" "$HOME/BirdNET-Pi/templates/phpsysinfo.ini"
-fi
-
if [ -L /usr/local/bin/analyze.py ];then
rm -f /usr/local/bin/analyze.py
fi