summaryrefslogtreecommitdiffstats
path: root/usr/local/www/index.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-25 23:12:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-25 23:12:26 +0000
commitb6d96a2ff6161c65044a00f826c2e4b399773e0c (patch)
treec807b0af4aebdcaf69886dd2cd314cfb28dd126e /usr/local/www/index.php
parent05603c3462dfb1ac7a2d36be82586618035ffc29 (diff)
downloadpfsense-b6d96a2ff6161c65044a00f826c2e4b399773e0c.zip
pfsense-b6d96a2ff6161c65044a00f826c2e4b399773e0c.tar.gz
Add a redirection notice for embedded users that the wizard is slower than the normal gui. Also note that the user can click on the pfSense logo in the wizard to bypass the wizard process.
Diffstat (limited to 'usr/local/www/index.php')
-rwxr-xr-xusr/local/www/index.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 24a3148..5321526 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -33,7 +33,12 @@
if(file_exists("/usr/local/www/trigger_initial_wizard")) {
unlink("/usr/local/www/trigger_initial_wizard");
- header("Location: wizard.php?xml=setup_wizard.xml");
+ echo "<center>";
+ echo "Welcome to pfSense!<p>";
+ echo "One moment while we start the initial setup wizard.<p>";
+ echo "Embedded platform users: Please be patient, the wizard takes a little longer to run than the normal gui.<p>";
+ echo "To bypass the wizard, click on the pfSense wizard on the initial page.";
+ echo "<meta http-equiv=\"refresh\" content=\"1;url=wizard.php?xml=setup_wizard.xml\">";
}
require("guiconfig.inc");
@@ -269,7 +274,7 @@ While(!Connection_Aborted()) {
echo "<script language='javascript'>\n";
echo "document.forms[0].uptime.value = '" . get_uptime() . "';\n";
-
+
echo "document.cpuwidtha.style.width='" . $cpuUsage . "';\n";
echo "document.cpuwidthb.style.width='" . (100 - $cpuUsage) . "';\n";
echo "document.forms[0].cpumeter.value = '" . $cpuUsage . "%';\n";
OpenPOWER on IntegriCloud