Skip to content

A live bird collage card for your Home Assistant dashboard.

Update update_services.sh

Patrick McGuire7136fc54164f
diff --git a/scripts/update_services.sh b/scripts/update_services.sh
index b8b46b7e..4d4c5aa1 100755
--- a/scripts/update_services.sh
+++ b/scripts/update_services.sh
@@ -248,11 +248,8 @@ EOF
}
update_etc_hosts() {
- BIRDNETPI_URL=https://birdnetpi.pmcgui.xyz
BIRDNETPI_URL="$(echo ${BIRDNETPI_URL} | sed 's/\/\//\\\/\\\//g')"
- EXTRACTIONLOG_URL=https://extractionlog.pmcgui.xyz
EXTRACTIONLOG_URL="$(echo ${EXTRACTIONLOG_URL} | sed 's/\/\//\\\/\\\//g')"
- BIRDNETLOG_URL=https://birdnetlog.pmcgui.xyz
BIRDNETLOG_URL="$(echo ${BIRDNETLOG_URL} | sed 's/\/\//\\\/\\\//g')"
sed -ie s/'birdnetpi.local$'/"birdnetpi.local ${BIRDNETPI_URL} ${EXTRACTIONLOG_URL} ${BIRDNETLOG_URL}"/g /etc/hosts
}