summaryrefslogtreecommitdiffstats
path: root/usr/local/www/reboot.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-06 18:59:44 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-06 18:59:44 +0000
commit276ba5212754507be2c8a72a06249c19de34cbc0 (patch)
treebdafb59c5dfd0abafab9956cc1a1b822c8570ae5 /usr/local/www/reboot.php
parent41901fa6915785fc6279499d446d615873dd409c (diff)
downloadpfsense-276ba5212754507be2c8a72a06249c19de34cbc0.zip
pfsense-276ba5212754507be2c8a72a06249c19de34cbc0.tar.gz
Alert user when shutting down
Diffstat (limited to 'usr/local/www/reboot.php')
-rwxr-xr-xusr/local/www/reboot.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/www/reboot.php b/usr/local/www/reboot.php
index 184c430..8aba122 100755
--- a/usr/local/www/reboot.php
+++ b/usr/local/www/reboot.php
@@ -35,6 +35,12 @@ require("guiconfig.inc");
$pgtitle = "Diagnostics: Reboot System";
include("head.inc");
+if ($_POST) {
+ if ($_POST['Submit'] == " Yes ") {
+ $rebootmsg = "The system is rebooting now. This may take one minute.";
+ }
+}
+
?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
OpenPOWER on IntegriCloud