Revision 111d1985
Added by Scott Ullrich almost 17 years ago
usr/local/www/reboot.php | ||
---|---|---|
63 | 63 |
<?php |
64 | 64 |
if ($_POST) { |
65 | 65 |
if ($_POST['Submit'] == " Yes ") { |
66 |
echo "<meta http-equiv=\"refresh\" content=\"40;url=/\">"; |
|
66 | 67 |
system_reboot(); |
67 | 68 |
$rebootmsg = "The system is rebooting now. This may take one minute."; |
68 | 69 |
} else { |
Also available in: Unified diff
Navigate to / after 40 seconds to avoid accidental reboots.