Update update_birdnet_snippets.sh

This commit is contained in:
Patrick McGuire
2022-05-12 17:20:53 -04:00
committed by GitHub
parent 0f2dc46754
commit 444aeb166a
+5
View File
@@ -44,3 +44,8 @@ fi
if ! grep RTSP_STREAM /etc/birdnet/birdnet.conf &>/dev/null;then
sudo -u$USER echo "RTSP_STREAM=" >> /etc/birdnet/birdnet.conf
fi
if grep bash $HOME/BirdNET-Pi/templates/web_terminal.service;then
sudo sed -i '/User/d;s/bash/login/g' $HOME/BirdNET-Pi/templates/web_terminal.service
sudo systemctl daemon-reload
sudo systemctl restart web_terminal.service
fi