Update install_services.sh
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user