cleanup: remove unused scripts
This commit is contained in:
@@ -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;
|
||||
?>
|
||||
|
||||
@@ -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.
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user