mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-11 18:09:55 +02:00
Update 71-modifications.sh
This commit is contained in:
@@ -60,6 +60,12 @@ for file in $(find "$HOME"/BirdNET-Pi/templates/birdnet*.service -print0 | xargs
|
|||||||
sed -i "/Service/a StandardOutput=append:/proc/1/fd/1" "$HOME/BirdNET-Pi/templates/$file"
|
sed -i "/Service/a StandardOutput=append:/proc/1/fd/1" "$HOME/BirdNET-Pi/templates/$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo "... install option to change birds identification"
|
||||||
|
curl -o /home/pi/BirdNET-Pi/homepage/images/bird.svg https://raw.githubusercontent.com/alexbelgium/BirdNET-Pi/patch-1/homepage/images/bird.svg &>/dev/null || true
|
||||||
|
curl -o /home/pi/BirdNET-Pi/scripts/birdnet_changeidentification.sh https://raw.githubusercontent.com/alexbelgium/BirdNET-Pi/patch-1/scripts/birdnet_changeidentification.sh &>/dev/null || true
|
||||||
|
chmod 777 /home/pi/BirdNET-Pi/scripts/birdnet_changeidentification.sh &>/dev/null || true
|
||||||
|
curl https://raw.githubusercontent.com/alexbelgium/BirdNET-Pi/patch-1/scripts/play.php > /home/pi/BirdNET-Pi/scripts/play.php &>/dev/null || true
|
||||||
|
|
||||||
# Correct log services to show /proc/1/fd/1
|
# Correct log services to show /proc/1/fd/1
|
||||||
echo "... show container logs in /logs"
|
echo "... show container logs in /logs"
|
||||||
sed -i "/User=pi/d" "$HOME/BirdNET-Pi/templates/birdnet_log.service"
|
sed -i "/User=pi/d" "$HOME/BirdNET-Pi/templates/birdnet_log.service"
|
||||||
|
|||||||
Reference in New Issue
Block a user