Skip to content

A live bird collage card for your Home Assistant dashboard.

simpler update

mcguirepr895905f8769714
diff --git a/homepage/views.php b/homepage/views.php
index c8e8b5dc..6d775de8 100644
--- a/homepage/views.php
+++ b/homepage/views.php
@@ -169,13 +169,6 @@ if(isset($_POST['view'])){
}
} elseif(isset($_POST['submit'])) {
$command = $_POST['submit'];
- if($command == 'update_birdnet.sh'){
- $str= "<h3>Updating . . . </h3>
- <p>Please wait 60 seconds</p>";
- echo str_pad($str, 4096);
- ob_flush();
- flush();
- }
if(isset($command)){
$results = shell_exec("$command 2>&1");
echo "<pre>$results</pre>";