mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-01 19:00:33 +02:00
Update 81-modifications.sh
This commit is contained in:
@@ -66,6 +66,9 @@ if ! grep -q "/usr/bin/sudo" "$HOME/BirdNET-Pi/templates/birdnet_analysis.servic
|
|||||||
done < <(find "$HOME/BirdNET-Pi/templates/" -name "*net*.service" -print)
|
done < <(find "$HOME/BirdNET-Pi/templates/" -name "*net*.service" -print)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Allow pulseaudio system
|
||||||
|
sed -i "s/pulseaudio --start/pulseaudio --start 2>/dev/null && pulseaudio --check || pulseaudio --system/g" "$HOME"/BirdNET-Pi/scripts/birdnet_recording.sh
|
||||||
|
|
||||||
# Send services log to container logs
|
# Send services log to container logs
|
||||||
echo "... redirecting services logs to container logs"
|
echo "... redirecting services logs to container logs"
|
||||||
while IFS= read -r file; do
|
while IFS= read -r file; do
|
||||||
|
|||||||
Reference in New Issue
Block a user