Add APPRISE_NOTIFY_NEW_SPECIES_EACH_DAY to conf if missing
This commit is contained in:
@@ -40,6 +40,9 @@ fi
|
|||||||
if ! grep APPRISE_NOTIFY_NEW_SPECIES /etc/birdnet/birdnet.conf &>/dev/null;then
|
if ! grep APPRISE_NOTIFY_NEW_SPECIES /etc/birdnet/birdnet.conf &>/dev/null;then
|
||||||
sudo -u$USER echo "APPRISE_NOTIFY_NEW_SPECIES=0 " >> /etc/birdnet/birdnet.conf
|
sudo -u$USER echo "APPRISE_NOTIFY_NEW_SPECIES=0 " >> /etc/birdnet/birdnet.conf
|
||||||
fi
|
fi
|
||||||
|
if ! grep APPRISE_NOTIFY_NEW_SPECIES_EACH_DAY /etc/birdnet/birdnet.conf &>/dev/null;then
|
||||||
|
sudo -u$USER echo "APPRISE_NOTIFY_NEW_SPECIES_EACH_DAY=0 " >> /etc/birdnet/birdnet.conf
|
||||||
|
fi
|
||||||
|
|
||||||
# If the config does not contain the DATABASE_LANG setting, we'll want to add it.
|
# If the config does not contain the DATABASE_LANG setting, we'll want to add it.
|
||||||
# Defaults to not-selected, which config.php will know to render as a language option.
|
# Defaults to not-selected, which config.php will know to render as a language option.
|
||||||
|
|||||||
Reference in New Issue
Block a user