added nano web editor for editin birdnet.conf
(doesn't work on phones, only on desktop)
This commit is contained in:
@@ -39,6 +39,19 @@ EOF
|
||||
echo
|
||||
echo " -$SOFAR species identified so far"
|
||||
echo
|
||||
MOST_RECENT="$(find ${EXTRACTED}/By_Date/$(date +%Y-%m-%d) \
|
||||
| sort -t"%" -rk2 \
|
||||
| head -n1 \
|
||||
| cut -d'/' -f8)"
|
||||
AT_TIME="$(find ${EXTRACTED}/By_Date/$(date +%Y-%m-%d) \
|
||||
| sort -t"%" -rk2 \
|
||||
| head -n1 \
|
||||
| rev \
|
||||
| cut -d'-' -f1 \
|
||||
| rev \
|
||||
| cut -d'.' -f1)"
|
||||
echo " -Most recent species detection: ${MOST_RECENT//_/ } at ${AT_TIME}"
|
||||
echo
|
||||
if [ ${a} -ge 1 ];then
|
||||
while read -r line;do
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
shell_exec("/home/pi/BirdNET-Lite/scripts/edit_birdnet.conf.sh");
|
||||
header('Location: http://birdnetsystem.local:9898');
|
||||
?>
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
sudo systemctl start edit_birdnet_conf.service
|
||||
@@ -1,3 +1,7 @@
|
||||
<form action="/scripts/edit_birdnet.conf.php">
|
||||
<input type="submit" value="Edit the birdnet.conf file">
|
||||
</form>
|
||||
|
||||
<form action="/scripts/restart_services.php">
|
||||
<input type="submit" value="Restart ALL BirdNET-system Services">
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user