mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update 71-modifications.sh
This commit is contained in:
@@ -45,6 +45,11 @@ else
|
|||||||
sed -i "s|https://allaboutbirds.org/guide/\$comname|https://allaboutbirds.org/guide/\$comnameen|g" "$HOME"/BirdNET-Pi/scripts/stats.php
|
sed -i "s|https://allaboutbirds.org/guide/\$comname|https://allaboutbirds.org/guide/\$comnameen|g" "$HOME"/BirdNET-Pi/scripts/stats.php
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Avoid to preselect the title
|
||||||
|
echo "... avoiding title preselection in tables"
|
||||||
|
sed -i "s|option selected value=|option value=|g" /home/pi/BirdNET-Pi/scripts/include_list.php
|
||||||
|
sed -i "s|option selected value=|option value=|g" /home/pi/BirdNET-Pi/scripts/exclude_list.php
|
||||||
|
|
||||||
# Correct services to start as user pi
|
# Correct services to start as user pi
|
||||||
echo "... correct services to start as pi"
|
echo "... correct services to start as pi"
|
||||||
for file in $(find "$HOME"/BirdNET-Pi/templates/birdnet*.service -print0 | xargs -0 basename -a) livestream.service chart_viewer.service chart_viewer.service spectrogram_viewer.service; do
|
for file in $(find "$HOME"/BirdNET-Pi/templates/birdnet*.service -print0 | xargs -0 basename -a) livestream.service chart_viewer.service chart_viewer.service spectrogram_viewer.service; do
|
||||||
|
|||||||
Reference in New Issue
Block a user