A live bird collage card for your Home Assistant dashboard.
removing avahi vailures during updates
mcguirepr89f4c69b733c8b
diff --git a/scripts/update_birdnet2.sh b/scripts/update_birdnet2.shindex 19b88d15..7174a3eb 100755--- a/scripts/update_birdnet2.sh+++ b/scripts/update_birdnet2.sh@@ -23,7 +23,7 @@ fisudo -u${USER} cp -f ~/BirdNET-Pi/model/labels.txt.bak ~/BirdNET-Pi/model/labels.txt# Stage 2 restarts the services-newservices=($(awk '/systemctl/ && !/php/ && !/caddy/ && !/target/ {print $3}' <(sed -e 's/--now//g' ${my_dir}/update_services.sh) | sort | uniq ))+newservices=($(awk '/systemctl/ && !/php/ && !/caddy/ && && !/avahi/ && !/target/ {print $3}' <(sed -e 's/--now//g' ${my_dir}/update_services.sh) | sort | uniq ))for i in ${newservices[@]};dosudo systemctl restart ${i}done