From 27ab1b0d65b7f1f50e5fe7e9c212f6a006ff16a1 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 1 May 2024 11:07:25 +0200 Subject: [PATCH] Update and rename 99-modifications.sh to 71-modifications.sh --- .../cont-init.d/{99-modifications.sh => 71-modifications.sh} | 5 ----- 1 file changed, 5 deletions(-) rename birdnet-pi/rootfs/etc/cont-init.d/{99-modifications.sh => 71-modifications.sh} (91%) 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"