Use local and not distant *ctl replacements

This commit is contained in:
Alexandre
2024-06-07 08:33:03 +02:00
committed by GitHub
parent 13b79bbfdd
commit e3a1d0d505

View File

@@ -24,9 +24,14 @@ fi || (bashio::log.fatal "Error : $TIMEZONE not found. Here is a list of valid t
# 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
mv /helpers/systemctl3.py /bin/systemctl
chmod a+x /bin/systemctl
# Correcting systemctl
echo "... correcting datetimectl"
mv /helpers/timedatectl /usr/bin/timedatectl
chmod a+x /usr/bin/timedatectl
# Correct language labels
export "$(grep "^DATABASE_LANG" /config/birdnet.conf)"
# Saving default of en