mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-10 16:01:00 +02:00
Update and rename 99-modifications.sh to 71-modifications.sh
This commit is contained in:
@@ -18,11 +18,6 @@ echo "... removing Ram drive from webui as it is handled from HA"
|
|||||||
sed -i '/Ram drive/{n;s/center"/center" style="display: none;"/;}' "$HOME"/BirdNET-Pi/scripts/service_controls.php
|
sed -i '/Ram drive/{n;s/center"/center" style="display: none;"/;}' "$HOME"/BirdNET-Pi/scripts/service_controls.php
|
||||||
sed -i '/Ram drive/d' "$HOME"/BirdNET-Pi/scripts/service_controls.php
|
sed -i '/Ram drive/d' "$HOME"/BirdNET-Pi/scripts/service_controls.php
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# Set the online birds info system
|
# Set the online birds info system
|
||||||
if [[ "$(bashio::config "BIRDS_ONLINE_INFO")" == *"ebird"* ]]; then
|
if [[ "$(bashio::config "BIRDS_ONLINE_INFO")" == *"ebird"* ]]; then
|
||||||
echo "... using ebird instead of allaboutbirds"
|
echo "... using ebird instead of allaboutbirds"
|
||||||
Reference in New Issue
Block a user