Skip to content

Commit

Permalink
Update shutdown.php
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianh001 authored Jun 24, 2018
1 parent a964d52 commit d10dac5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webinterface/shutdown.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
<?php
function runShutdown(){
exec("/sbin/shutdown -h now");
}

if (isset($_GET['shutdown'])) {
runShutdown();
}
?>
?>

0 comments on commit d10dac5

Please sign in to comment.