Various fixes and improvements
This commit is contained in:
1 parent
93e7c890d5
commit
9c458c0e68
5 files changed
+33
-47
No files matched your search
+3
-3
@@ -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 $!');
|
||||
}
|
||||
?>
|
||||
Reference in new issue
Block a user