mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-23 17:21:56 +02:00
Update 99-run.sh
This commit is contained in:
@@ -98,6 +98,6 @@ echo "... removing System Controls from webui as should be used from HA"
|
|||||||
sed -i '/>System Controls/d' "$HOME"/BirdNET-Pi/homepage/views.php
|
sed -i '/>System Controls/d' "$HOME"/BirdNET-Pi/homepage/views.php
|
||||||
|
|
||||||
# Correct the phpsysinfo for the correct gotty service
|
# Correct the phpsysinfo for the correct gotty service
|
||||||
gottyservice="$(ps aux | grep 'address' | grep -o 'gotty-[a-z0-9]*' | head -n 1)"
|
gottyservice="$(ps aux | grep 'address' | grep -o 'gotty-[a-z_0-9]*' | head -n 1)"
|
||||||
echo "... using $gottyservice in phpsysinfo"
|
echo "... using $gottyservice in phpsysinfo"
|
||||||
sed -i "s/,gotty,/,${gottyservice:-gotty},/g" "$HOME"/BirdNET-Pi/templates/phpsysinfo.ini
|
sed -i "s/,gotty,/,${gottyservice:-gotty},/g" "$HOME"/BirdNET-Pi/templates/phpsysinfo.ini
|
||||||
|
|||||||
Reference in New Issue
Block a user