mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-04 02:47:45 +01:00
Update 91-run.sh
This commit is contained in:
@@ -49,4 +49,9 @@ bashio::log.info "Starting BirdNET-Pi services"
|
||||
chmod +x "$HOME"/BirdNET-Pi/scripts/restart_services.sh
|
||||
sudo -u pi "$HOME"/BirdNET-Pi/scripts/restart_services.sh
|
||||
|
||||
# Correct the phpsysinfo for the correct gotty service
|
||||
gottyservice="$(pgrep -l "gotty" | awk '{print $NF}' | head -n 1)"
|
||||
echo "... using $gottyservice in phpsysinfo"
|
||||
sed -i "s/,gotty,/,${gottyservice:-gotty},/g" "$HOME"/BirdNET-Pi/templates/phpsysinfo.ini
|
||||
|
||||
echo " "
|
||||
|
||||
Reference in New Issue
Block a user