A live bird collage card for your Home Assistant dashboard.
this is for the new advanced.php
mcguirepr892bb66c03d802
diff --git a/scripts/update_db_pwd_bullseye.sh b/scripts/update_db_pwd_bullseye.shindex 16f0aab8..723e81c9 100755--- a/scripts/update_db_pwd_bullseye.sh+++ b/scripts/update_db_pwd_bullseye.sh@@ -5,9 +5,7 @@ source /etc/birdnet/birdnet.confmysql -e "SET PASSWORD FOR 'birder'@'localhost' = PASSWORD('${DB_PWD}');FLUSH PRIVILEGES";-sudo -u ${USER} git -C /home/pi/BirdNET-Pi checkout -f scripts/server.py-sudo -u ${USER} git -C /home/pi/BirdNET-Pi checkout -f scripts/viewdb.php-sudo -u ${USER} sed -i "s/databasepassword/${DB_PWD}/g" /home/pi/BirdNET-Pi/scripts/server.pysed -i "s/mysqli.default_host =.*/mysqli.default_host = localhost/g" /etc/php/7.4/fpm/php.inised -i "s/mysqli.default_user =.*/mysqli.default_user = birder/g" /etc/php/7.4/fpm/php.inised -i "s/mysqli.default_pw =.*/mysqli.default_pw = ${DB_PWD}/g" /etc/php/7.4/fpm/php.ini+systemctl restart php7.4-fpm.service