mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 91-run.sh
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user