Skip to content

A live bird collage card for your Home Assistant dashboard.

cleanup: remove unused scripts

frederik3433f4cffea3
diff --git a/scripts/birdnetpi_request.php b/scripts/birdnetpi_request.php
deleted file mode 100644
index ed23f2b4..00000000
--- a/scripts/birdnetpi_request.php
+++ /dev/null
@@ -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;
-?>
-
diff --git a/scripts/email_template2 b/scripts/email_template2
deleted file mode 100644
index 6da407c0..00000000
--- a/scripts/email_template2
+++ /dev/null
@@ -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.
diff --git a/scripts/write_config.sh b/scripts/write_config.sh
deleted file mode 100755
index 05d42674..00000000
--- a/scripts/write_config.sh
+++ /dev/null
@@ -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}
-