summaryrefslogtreecommitdiffstats
path: root/usr/local/www/reboot.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-16 21:56:39 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-16 21:56:39 +0000
commit4199cc625975cceb57a5e65bab8dbb631a859808 (patch)
treefe71ff666acbe6f3f02106f3964f5daf518e13be /usr/local/www/reboot.php
parent4b6e75fff990fb56d008d99e9a398e74ca7b2e45 (diff)
downloadpfsense-4199cc625975cceb57a5e65bab8dbb631a859808.zip
pfsense-4199cc625975cceb57a5e65bab8dbb631a859808.tar.gz
Navigate to / after 40 seconds to avoid accidental reboots.
Diffstat (limited to 'usr/local/www/reboot.php')
-rwxr-xr-xusr/local/www/reboot.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/reboot.php b/usr/local/www/reboot.php
index 68e37b9..adc0b31 100755
--- a/usr/local/www/reboot.php
+++ b/usr/local/www/reboot.php
@@ -70,6 +70,7 @@ include("head.inc");
<?php
if ($_POST) {
if ($_POST['Submit'] == " Yes ") {
+ echo "<meta http-equiv=\"refresh\" content=\"40;url=/\">";
system_reboot();
$rebootmsg = "The system is rebooting now. This may take one minute.";
} else {
OpenPOWER on IntegriCloud