Browse Source

Ajout de l'action d appel du poweroff pour eteindre le module

master
heuzef 6 years ago
parent
commit
0c57663fc1
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      ui/index.php

+ 4
- 0
ui/index.php View File

@@ -68,6 +68,10 @@ if (isset($_POST['password']) && $_POST['password'] == 'ogg') {
{
exec("../scripts/reboot.sh");
}
elseif ($_GET['action'] == "poweroff")
{
exec("../scripts/poweroff.sh");
}
?>

<body>


Loading…
Cancel
Save