more sophisticated birdnet-pi-config
-- adjusted per notes from @CaiusX
This commit is contained in:
@@ -21,7 +21,7 @@ fi
|
||||
|
||||
if ! [ -z ${db_pwd} ];then
|
||||
sed -i s/'^DB_PWD=.*'/"DB_PWD=${db_pwd}"/g ${birdnet_conf}
|
||||
sudo -upi ${birdnetpi_dir}/scripts/update_db_pwd.sh
|
||||
${birdnetpi_dir}/scripts/update_db_pwd.sh
|
||||
fi
|
||||
|
||||
if ! [ -z ${db_root_pwd} ];then
|
||||
@@ -33,7 +33,6 @@ if ! [ -z ${birdnetpi_url} ];then
|
||||
sed -i s/'^BIRDNETPI_URL=.*'/"BIRDNETPI_URL=${birdnetpi_url/\/\//\\\/\\\/}"/g ${birdnet_conf}
|
||||
sed -i s/'^EXTRACTIONLOG_URL=.*'/"EXTRACTIONLOG_URL=${extractionlog_url/\/\//\\\/\\\/}"/g ${birdnet_conf}
|
||||
sed -i s/'^BIRDNETLOG_URL=.*'/"BIRDNETLOG_URL=${birdnetlog_url/\/\//\\\/\\\/}"/g ${birdnet_conf}
|
||||
sudo -upi ${birdnetpi_dir}/scripts/update_birdnet.sh
|
||||
fi
|
||||
|
||||
if ! [ -z ${new_sensitivity} ];then
|
||||
|
||||
Reference in New Issue
Block a user