diff --git a/birdnet-pi/rootfs/etc/cont-init.d/71-newfeatures.sh b/birdnet-pi/rootfs/etc/cont-init.d/71-newfeatures.sh index aef326aca..a0a84cc7b 100755 --- a/birdnet-pi/rootfs/etc/cont-init.d/71-newfeatures.sh +++ b/birdnet-pi/rootfs/etc/cont-init.d/71-newfeatures.sh @@ -116,4 +116,9 @@ if bashio::config.true "SPECIES_CONVERTER"; then fi fi +# Add weekly report button +if ! grep -q "Weekly Report" "$HOME"/BirdNET-Pi/homepage/views.php; then + sed -i "67a\ " "$HOME"/BirdNET-Pi/homepage/views.php +fi + echo " "