diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-02-11 03:04:21 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-02-11 03:04:21 +0000 |
commit | 5860dad1525ef9663c95ade81406742980b98cd8 (patch) | |
tree | 07d2bb7a88df880c62a10c4c7e049d2549b28dda /usr/local/www/reboot.php | |
parent | e70752bae2ca46a1c1d2e9b6bf4c32298876d9f3 (diff) | |
download | pfsense-5860dad1525ef9663c95ade81406742980b98cd8.zip pfsense-5860dad1525ef9663c95ade81406742980b98cd8.tar.gz |
Redirect back to / if user selects not to reboot.
Diffstat (limited to 'usr/local/www/reboot.php')
-rwxr-xr-x | usr/local/www/reboot.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/usr/local/www/reboot.php b/usr/local/www/reboot.php index 95c6f04..75f5604 100755 --- a/usr/local/www/reboot.php +++ b/usr/local/www/reboot.php @@ -31,15 +31,18 @@ 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."; + } else { + Header("Location: /"); } } + +$pgtitle = "Diagnostics: Reboot System"; +include("head.inc"); + ?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> |