Skip to content

Commit 269043a

Browse files
trying shutdown -r instead of reboot
1 parent 00e4e27 commit 269043a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

power.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
changeLockState();
3535
}
3636
//exec("python /home/stakebox/UI/libs/reboot.py");
37-
exec("sudo reboot now");
37+
exec("sudo shutdown -r now");
3838
print '<h2>Your StakeBox is restarting ...</h2>';
3939
} else if ($status == "shutdown"){
4040
//exec("python /home/stakebox/UI/libs/shutdown.py");

0 commit comments

Comments
 (0)