summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-16 21:57:38 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-16 21:57:38 +0000
commit111d1985b0fd69f68273ad988f97f332af443203 (patch)
tree6ef6617758243a5bf34bb6264cbbe11d7ca96c7c /usr
parentd91405230a3b4664bd89507fb71f3b75d9259429 (diff)
downloadpfsense-111d1985b0fd69f68273ad988f97f332af443203.zip
pfsense-111d1985b0fd69f68273ad988f97f332af443203.tar.gz
Navigate to / after 40 seconds to avoid accidental reboots.
Diffstat (limited to 'usr')
-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 75f5604..fe6ead0 100755
--- a/usr/local/www/reboot.php
+++ b/usr/local/www/reboot.php
@@ -63,6 +63,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