Skip to content

Commit

Permalink
trying shutdown -r instead of reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
proletesseract committed Jul 24, 2017
1 parent 00e4e27 commit 269043a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion power.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
changeLockState();
}
//exec("python /home/stakebox/UI/libs/reboot.py");
exec("sudo reboot now");
exec("sudo shutdown -r now");
print '<h2>Your StakeBox is restarting ...</h2>';
} else if ($status == "shutdown"){
//exec("python /home/stakebox/UI/libs/shutdown.py");
Expand Down

0 comments on commit 269043a

Please sign in to comment.