From 4f2f8698670fa7ba102ef8516bb94c2be2fecaf8 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 27 Oct 2024 22:38:41 +0100 Subject: [PATCH] Update 02-restorestreamdata.sh --- birdnet-pi/rootfs/etc/cont-init.d/02-restorestreamdata.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/birdnet-pi/rootfs/etc/cont-init.d/02-restorestreamdata.sh b/birdnet-pi/rootfs/etc/cont-init.d/02-restorestreamdata.sh index 8ab4ae674..7a3a67bfd 100755 --- a/birdnet-pi/rootfs/etc/cont-init.d/02-restorestreamdata.sh +++ b/birdnet-pi/rootfs/etc/cont-init.d/02-restorestreamdata.sh @@ -3,11 +3,11 @@ set -e if [ -d /data/StreamData ]; then - bashio::log.fatal "Container was stopped while files were still being analyzed." # Check if there are .wav files in /data/StreamData if find /data/StreamData -type f -name "*.wav" | grep -q .; then - bashio::log.warning "Restoring .wav files from /data/StreamData to $HOME/BirdSongs/StreamData." + bashio::log.warning "Container was stopped while files were still being analyzed." + echo "... restoring .wav files from /data/StreamData to $HOME/BirdSongs/StreamData." # Create the destination directory if it does not exist mkdir -p "$HOME"/BirdSongs/StreamData