Various fixes and improvements

This commit is contained in:
Dmitri Popov committed 2019-02-11 21:22:34 +01:00
1 parent 93e7c890d5
commit 9c458c0e68
5 files changed
+33 -47

No files matched your search

+3 -3
View File
@@ -47,14 +47,14 @@
<?php
if (isset($_POST['cardbackup']))
{
shell_exec('sudo ./card-backup.sh');
shell_exec('sudo ./card-backup.sh 2>&1 & echo $!');
}
if (isset($_POST['camerabackup']))
{
shell_exec('sudo ./camera-backup.sh');
shell_exec('sudo ./camera-backup.sh 2>&1 & echo $!');
}
if (isset($_POST['shutdown']))
{
shell_exec('sudo shutdown -h now');
shell_exec('sudo shutdown -h now 2>&1 & echo $!');
}
?>