From b5f069efe2ea55a8923af201664582551a696f1c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 30 Apr 2024 18:10:48 +0200 Subject: [PATCH] Update 91-run.sh --- birdnet-pi/rootfs/etc/cont-init.d/91-run.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/birdnet-pi/rootfs/etc/cont-init.d/91-run.sh b/birdnet-pi/rootfs/etc/cont-init.d/91-run.sh index e98fa176d..2d8c4d3af 100755 --- a/birdnet-pi/rootfs/etc/cont-init.d/91-run.sh +++ b/birdnet-pi/rootfs/etc/cont-init.d/91-run.sh @@ -17,16 +17,6 @@ if bashio::config.has_value 'TZ'; then echo "$TIMEZONE" >/etc/timezone fi || (bashio::log.fatal "Error : $TIMEZONE not found. Here is a list of valid timezones : https://manpages.ubuntu.com/manpages/focal/man3/DateTime::TimeZone::Catalog.3pm.html") -# Correct language labels -export "$(grep "^DATABASE_LANG" /config/birdnet.conf)" -echo "... adapting labels according to birdnet.conf file to $DATABASE_LANG" - -DATABASE_LANG=fr - -/."$HOME"/BirdNET-Pi/scripts/install_language_label_nm.sh -l "$DATABASE_LANG" -# Saving default of en -cp "$HOME"/BirdNET-Pi/model/labels.txt "$HOME"/BirdNET-Pi/model/labels.bak - # Correcting systemctl echo "... correcting systemctl" curl -f -L -s -S https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py -o /bin/systemctl