Add DLNA
This commit is contained in:
@@ -33,6 +33,12 @@
|
||||
<button name="camerabackup">Camera backup</button>
|
||||
</form>
|
||||
</p>
|
||||
<p>Activate the DLNA server</p>
|
||||
<p>
|
||||
<form method="post">
|
||||
<button name="minidlna">DLNA server</button>
|
||||
</form>
|
||||
</p>
|
||||
<p class="left">Shut down the Little Backup Box</p>
|
||||
<p>
|
||||
<form method="post">
|
||||
@@ -53,6 +59,10 @@ if (isset($_POST['camerabackup']))
|
||||
{
|
||||
shell_exec('sudo ./camera-backup.sh 2>&1 & echo $!');
|
||||
}
|
||||
if (isset($_POST['minidlna']))
|
||||
{
|
||||
shell_exec('sudo ./minidlna.sh 2>&1 & echo $!');
|
||||
}
|
||||
if (isset($_POST['shutdown']))
|
||||
{
|
||||
shell_exec('sudo shutdown -h now 2>&1 & echo $!');
|
||||
|
||||
Reference in New Issue
Block a user