cleanup: remove unused scripts

This commit is contained in:
frederik
2024-11-03 10:30:29 +01:00
parent 0cb609a69f
commit 3433f4cffe
3 changed files with 0 additions and 37 deletions
-13
View File
@@ -1,13 +0,0 @@
<?php
require_once 'scripts/common.php';
$config = get_config();
$template = file_get_contents("./scripts/email_template2");
foreach($config as $key => $value)
{
$template = str_replace('{{ '.$key.' }}', $value, $template);
}
echo $template;
?>
-10
View File
@@ -1,10 +0,0 @@
Hi, Patrick, I'm a new BirdNET-Pi user and am interested in a subdomain.
%0A%0A
Location= [ Create a location name ]%0A
%0A%0A
An automated best regards!%0A
[ Your Name Here ]
%0A%0A
Acknowledgement: By requesting this BirdNETPi.com subdomain, I acknowledge that
my installation and its data will be made public. I also acknowledge that it is
my responsibility to keep the installation secure.
-14
View File
@@ -1,14 +0,0 @@
#!/usr/bin/bash
# Writes variables to config file
birdnetpi_dir=$HOME/BirdNET-Pi
birders_conf=${birdnetpi_dir}/Birders_Guide_Installer_Configuration.txt
sed -i s/'^LATITUDE=$'/"LATITUDE=${new_lat}"/g ${birders_conf}
sed -i s/'^LONGITUDE=$'/"LONGITUDE=${new_lon}"/g ${birders_conf}
sed -i s/'^CADDY_PWD=$'/"CADDY_PWD=${caddy_pwd}"/g ${birders_conf}
sed -i s/'^ICE_PWD=$'/"ICE_PWD=${ice_pwd}"/g ${birders_conf}
sed -i s/'^DB_PWD=$'/"DB_PWD=${db_pwd}"/g ${birders_conf}
sed -i s/'^BIRDWEATHER_ID=$'/"BIRDWEATHER_ID=${birdweather_id}"/g ${birders_conf}
sed -i s/'^BIRDNETPI_URL=$'/"BIRDNETPI_URL=${birdnetpi_url/\/\//\\\/\\\/}"/g ${birders_conf}
sed -i s/'^WEBTERMINAL_URL=$'/"WEBTERMINAL_URL=${extractionlog_url/\/\//\\\/\\\/}"/g ${birders_conf}
sed -i s/'^BIRDNETLOG_URL=$'/"BIRDNETLOG_URL=${birdnetlog_url/\/\//\\\/\\\/}"/g ${birders_conf}