summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-05-21 23:42:02 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-05-21 23:42:02 +0000
commite2c8c1aad6022076c31686477d72cb4c7cabf922 (patch)
tree79c615da3c9cd8e71f0a5cbb801ee2de30740193 /usr/local/www/wizards
parent9aa4a9b1b765d79823b7617bd30aeb4cfd8c0dde (diff)
downloadpfsense-e2c8c1aad6022076c31686477d72cb4c7cabf922.zip
pfsense-e2c8c1aad6022076c31686477d72cb4c7cabf922.tar.gz
Remove trigger wizard file before displaying first step. Some people like to click the wizard logo to bypass wizard.
Diffstat (limited to 'usr/local/www/wizards')
-rw-r--r--usr/local/www/wizards/setup_wizard.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/local/www/wizards/setup_wizard.xml b/usr/local/www/wizards/setup_wizard.xml
index 0c10256..b330c02 100644
--- a/usr/local/www/wizards/setup_wizard.xml
+++ b/usr/local/www/wizards/setup_wizard.xml
@@ -43,6 +43,11 @@
<type>submit</type>
</field>
</fields>
+ <stepbeforeformdisplay>
+ conf_mount_rw();
+ unlink('/conf/trigger_initial_wizard');
+ conf_mount_ro();
+ </stepbeforeformdisplay>
</step>
<step>
<id>2</id>
@@ -452,9 +457,6 @@
<description>A reload is now in progress. Please wait. &lt;p&gt; The system will automatically try to access $myurl in 120 seconds. &lt;p&gt; You can click on the icon above to access the site more quickly.
&lt;meta http-equiv="refresh" content="60; url=$myurl" &gt;</description>
<stepafterformdisplay>
- conf_mount_rw();
- unlink('/conf/trigger_initial_wizard');
- conf_mount_ro();
reload_all();
</stepafterformdisplay>
</step>
OpenPOWER on IntegriCloud