mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-06 17:08:10 +02:00
Update 91-run.sh
This commit is contained in:
@@ -6,6 +6,11 @@ set -e
|
|||||||
# SET SYSTEM #
|
# SET SYSTEM #
|
||||||
##############
|
##############
|
||||||
|
|
||||||
|
echo " "
|
||||||
|
bashio::log.info "Setting password for the user pi"
|
||||||
|
echo "pi:$(bashio::log.config "pi_password")" | sudo chpasswd
|
||||||
|
echo "... done"
|
||||||
|
|
||||||
echo " "
|
echo " "
|
||||||
bashio::log.info "Starting system services"
|
bashio::log.info "Starting system services"
|
||||||
|
|
||||||
@@ -38,6 +43,6 @@ service dbus start
|
|||||||
echo ""
|
echo ""
|
||||||
bashio::log.info "Starting BirdNET-Pi services"
|
bashio::log.info "Starting BirdNET-Pi services"
|
||||||
chmod +x "$HOME"/BirdNET-Pi/scripts/restart_services.sh
|
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"
|
bashio::log.info "Starting upstream container"
|
||||||
|
|||||||
Reference in New Issue
Block a user