A live bird collage card for your Home Assistant dashboard.
added new shutdown button
Patrick McGuireb51e1f5ce13e
diff --git a/scripts/shutdown_system.php b/scripts/shutdown_system.phpnew file mode 100644index 00000000..b765831d--- /dev/null+++ b/scripts/shutdown_system.php@@ -0,0 +1,4 @@+<?php+shell_exec("/home/pi/BirdNET-Lite/scripts/shutdown_system.sh");+header('Location: http://birdnetsystem.local/scripts/index.html?success=true');+?>diff --git a/scripts/shutdown_system.sh b/scripts/shutdown_system.shnew file mode 100755index 00000000..d2eff34e--- /dev/null+++ b/scripts/shutdown_system.sh@@ -0,0 +1,2 @@+#!/usr/bin/env bash+sudo shutdown now