From ca5d328a294ffe9d48a8de9024a38e6d340e2856 Mon Sep 17 00:00:00 2001 From: Dmitri Popov Date: Sun, 24 Feb 2019 12:46:46 +0100 Subject: [PATCH] Add status --- scripts/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/index.php b/scripts/index.php index 181db64..59cd4ce 100644 --- a/scripts/index.php +++ b/scripts/index.php @@ -58,10 +58,12 @@ if (isset($_POST['cardbackup'])) { shell_exec('sudo ./card-backup.sh > /dev/null 2>&1 & echo $!'); + echo "

OK

"; } if (isset($_POST['camerabackup'])) { shell_exec('sudo ./camera-backup.sh > /dev/null 2>&1 & echo $!'); + echo "

OK

"; } if (isset($_POST['minidlna'])) { @@ -104,6 +106,7 @@ if (isset($_POST['shutdown'])) { shell_exec('sudo shutdown -h now > /dev/null 2>&1 & echo $!'); + echo "

OK

"; } ?> Read the Linux Photography book