Skip to content

Commit

Permalink
Avoid setting a default value for DETECTION_CONFIRMED
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Sep 7, 2024
1 parent 1fea677 commit 7b3e590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/update_birdnet_snippets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ if ! grep -E '^CONFIRM_SPECIES=' /etc/birdnet/birdnet.conf &>/dev/null;then
echo "CONFIRM_SPECIES=\"0\"" >> /etc/birdnet/birdnet.conf
fi

if ! grep -E '^DETECTION_CONFIRMED=' /etc/birdnet/birdnet.conf &>/dev/null;then
echo "DETECTION_CONFIRMED=\"70\"" >> /etc/birdnet/birdnet.conf
if ! grep -E '^DETECTION_CONFIRMED' /etc/birdnet/birdnet.conf &>/dev/null;then
echo "DETECTION_CONFIRMED=" >> /etc/birdnet/birdnet.conf
fi

[ -d $RECS_DIR/StreamData ] || sudo_with_user mkdir -p $RECS_DIR/StreamData
Expand Down

0 comments on commit 7b3e590

Please sign in to comment.