Update 91-run.sh

This commit is contained in:
Alexandre
2024-05-01 08:07:21 +02:00
committed by GitHub
parent 564dde8a62
commit d45f423e1c

View File

@@ -6,6 +6,11 @@ set -e
# SET SYSTEM #
##############
echo " "
bashio::log.info "Setting password for the user pi"
echo "pi:$(bashio::log.config "pi_password")" | sudo chpasswd
echo "... done"
echo " "
bashio::log.info "Starting system services"
@@ -38,6 +43,6 @@ service dbus start
echo ""
bashio::log.info "Starting BirdNET-Pi services"
chmod +x "$HOME"/BirdNET-Pi/scripts/restart_services.sh
/."$HOME"/BirdNET-Pi/scripts/restart_services.sh &>/proc/1/fd/1
sudo -u pi "$HOME"/BirdNET-Pi/scripts/restart_services.sh
bashio::log.info "Starting upstream container"