Update install_services.sh

This commit is contained in:
Patrick McGuire
2021-11-04 13:52:15 -04:00
committed by GitHub
parent e09de93fe0
commit 641b332143
-3
View File
@@ -250,11 +250,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
}