From a30622e8a9c7b9fb5686d3a2e68bf05e414f8e1b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 3 May 2024 07:19:47 +0200 Subject: [PATCH] Update changeidenfication.sh --- birdnet-pi/rootfs/helpers/changeidenfication.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/birdnet-pi/rootfs/helpers/changeidenfication.sh b/birdnet-pi/rootfs/helpers/changeidenfication.sh index a7f5f2641..996c776aa 100755 --- a/birdnet-pi/rootfs/helpers/changeidenfication.sh +++ b/birdnet-pi/rootfs/helpers/changeidenfication.sh @@ -6,6 +6,9 @@ if [ $$ -lt 2 ]; then exit 1 fi +set +u #avoid error with apprise variables +source /etc/birdnet/birdnet.conf + #OLDNAME="Mésange_charbonnière-78-2024-05-02-birdnet-RTSP_1-18:14:08.mp3" #NEWNAME="Lapinus atricapilla_Lapinu à tête noire" OLDNAME="$1"