This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
Allo-GG
Watch
3
Star
2
Fork
0
Code
Issues
9
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Ajout de l'action d appel du poweroff pour eteindre le module
master
heuzef
6 years ago
parent
ff9b4f9f96
commit
0c57663fc1
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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>
Write
Preview
Loading…
Cancel
Save