Skip to content

A live bird collage card for your Home Assistant dashboard.

Revert "Update update_birdnet_snippets.sh"

ehpersonal38eeb7e1032778
diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh
index 6e2cd843..85ce5c1e 100755
--- a/scripts/update_birdnet_snippets.sh
+++ b/scripts/update_birdnet_snippets.sh
@@ -102,13 +102,6 @@ if ! grep SILENCE_UPDATE_INDICATOR /etc/birdnet/birdnet.conf &>/dev/null;then
sudo -u$USER echo "SILENCE_UPDATE_INDICATOR=0" >> /etc/birdnet/birdnet.conf
fi
-if [[ -s /etc/crontab && -z "$(tail -c 1 /etc/crontab)" ]]
-then
- echo ""
-else
- echo "\n" | sudo tee -a /etc/crontab
-fi
-
sudo systemctl daemon-reload
restart_services.sh