quotes
This commit is contained in:
@@ -70,8 +70,8 @@ PUSHED_APP_SECRET=
|
||||
|
||||
#----------------------- Apprise Miscellanous Configuration -------------------#
|
||||
|
||||
APPRISE_NOTIFICATION_TITLE=New BirdNET-Pi Detection
|
||||
APPRISE_NOTIFICATION_BODY=A $sciname $comname was just detected with a confidence of $confidence
|
||||
APPRISE_NOTIFICATION_TITLE="New BirdNET-Pi Detection"
|
||||
APPRISE_NOTIFICATION_BODY="A \$sciname \$comname was just detected with a confidence of \$confidence"
|
||||
APPRISE_NOTIFY_EACH_DETECTION=false
|
||||
|
||||
################################################################################
|
||||
|
||||
@@ -83,8 +83,8 @@ PUSHED_APP_SECRET=
|
||||
|
||||
#----------------------- Apprise Miscellanous Configuration -------------------#
|
||||
|
||||
APPRISE_NOTIFICATION_TITLE=New BirdNET-Pi Detection
|
||||
APPRISE_NOTIFICATION_BODY=A $sciname $comname was just detected with a confidence of $confidence
|
||||
APPRISE_NOTIFICATION_TITLE="New BirdNET-Pi Detection"
|
||||
APPRISE_NOTIFICATION_BODY="A \$sciname \$comname was just detected with a confidence of \$confidence"
|
||||
APPRISE_NOTIFY_EACH_DETECTION=false
|
||||
|
||||
################################################################################
|
||||
|
||||
@@ -13,10 +13,10 @@ if ! grep PRIVACY_MODE /etc/birdnet/birdnet.conf &>/dev/null;then
|
||||
sudo -u$USER echo "PRIVACY_MODE=off" >> /etc/birdnet/birdnet.conf
|
||||
fi
|
||||
if ! grep APPRISE_NOTIFICATION_TITLE /etc/birdnet/birdnet.conf &>/dev/null;then
|
||||
sudo -u$USER echo "APPRISE_NOTIFICATION_TITLE=New BirdNET-Pi Detection" >> /etc/birdnet/birdnet.conf
|
||||
sudo -u$USER echo "\"APPRISE_NOTIFICATION_TITLE=New BirdNET-Pi Detection\"" >> /etc/birdnet/birdnet.conf
|
||||
fi
|
||||
if ! grep APPRISE_NOTIFICATION_BODY /etc/birdnet/birdnet.conf &>/dev/null;then
|
||||
sudo -u$USER echo "APPRISE_NOTIFICATION_BODY=A \$sciname \$comname was just detected with a confidence of \$confidence" >> /etc/birdnet/birdnet.conf
|
||||
sudo -u$USER echo "APPRISE_NOTIFICATION_BODY=\"A \$sciname \$comname was just detected with a confidence of \$confidence\"" >> /etc/birdnet/birdnet.conf
|
||||
fi
|
||||
if ! grep APPRISE_NOTIFY_EACH_DETECTION /etc/birdnet/birdnet.conf &>/dev/null;then
|
||||
sudo -u$USER echo "APPRISE_NOTIFY_EACH_DETECTION=false" >> /etc/birdnet/birdnet.conf
|
||||
|
||||
Reference in New Issue
Block a user