From b51e1f5ce13e7f2a9785558823594db783641f2f Mon Sep 17 00:00:00 2001 From: Patrick McGuire Date: Mon, 4 Oct 2021 08:06:52 -0400 Subject: [PATCH] added new shutdown button --- scripts/shutdown_system.php | 4 ++++ scripts/shutdown_system.sh | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 scripts/shutdown_system.php create mode 100755 scripts/shutdown_system.sh diff --git a/scripts/shutdown_system.php b/scripts/shutdown_system.php new file mode 100644 index 0000000..b765831 --- /dev/null +++ b/scripts/shutdown_system.php @@ -0,0 +1,4 @@ + diff --git a/scripts/shutdown_system.sh b/scripts/shutdown_system.sh new file mode 100755 index 0000000..d2eff34 --- /dev/null +++ b/scripts/shutdown_system.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +sudo shutdown now