summaryrefslogtreecommitdiffstats
path: root/usr/local/www/index.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-26 20:23:27 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-26 20:23:27 +0000
commit02e1170d67f5e2d3a4aa531ba900fc954cecf20d (patch)
tree045863cb0752b685d076e843d36d530044355a08 /usr/local/www/index.php
parent780dbd568256979a68c982ddde7740c2ea3a3751 (diff)
downloadpfsense-02e1170d67f5e2d3a4aa531ba900fc954cecf20d.zip
pfsense-02e1170d67f5e2d3a4aa531ba900fc954cecf20d.tar.gz
Mount flash r/w to remove /usr/local/www/trigger_initial_wizard
Diffstat (limited to 'usr/local/www/index.php')
-rwxr-xr-xusr/local/www/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 5321526..87c1a5c 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -32,13 +32,16 @@
*/
if(file_exists("/usr/local/www/trigger_initial_wizard")) {
+ conf_mount_rw();
unlink("/usr/local/www/trigger_initial_wizard");
+ conf_mount_ro();
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\">";
+ exit;
}
require("guiconfig.inc");
OpenPOWER on IntegriCloud