From 6a182c2bba099d175542f226799ed320b838e09c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 24 Jun 2024 08:47:32 +0200 Subject: [PATCH] Create 03-perform_updates.sh --- .../rootfs/etc/cont-init.d/03-perform_updates.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 birdnet-pi/rootfs/etc/cont-init.d/03-perform_updates.sh diff --git a/birdnet-pi/rootfs/etc/cont-init.d/03-perform_updates.sh b/birdnet-pi/rootfs/etc/cont-init.d/03-perform_updates.sh new file mode 100644 index 000000000..a733890c7 --- /dev/null +++ b/birdnet-pi/rootfs/etc/cont-init.d/03-perform_updates.sh @@ -0,0 +1,12 @@ +#!/command/with-contenv bashio +# shellcheck shell=bash +set -e + +###################### +# CHECK BIRDNET.CONF # +###################### + +echo " " +bashio::log.info "Updating and checking your BirdNET-Pi instance" + +exec "$HOME/BirdNET-Pi/scripts/update_birdnet_snippets.sh"