diff --git a/birdnet-pi/rootfs/etc/cont-init.d/99-modifications.sh b/birdnet-pi/rootfs/etc/cont-init.d/71-modifications.sh similarity index 91% rename from birdnet-pi/rootfs/etc/cont-init.d/99-modifications.sh rename to birdnet-pi/rootfs/etc/cont-init.d/71-modifications.sh index 8276c581e..44cf8bb88 100755 --- a/birdnet-pi/rootfs/etc/cont-init.d/99-modifications.sh +++ b/birdnet-pi/rootfs/etc/cont-init.d/71-modifications.sh @@ -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/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 if [[ "$(bashio::config "BIRDS_ONLINE_INFO")" == *"ebird"* ]]; then echo "... using ebird instead of allaboutbirds"