diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-05-21 23:42:02 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-05-21 23:42:02 +0000 |
commit | e2c8c1aad6022076c31686477d72cb4c7cabf922 (patch) | |
tree | 79c615da3c9cd8e71f0a5cbb801ee2de30740193 /usr/local/www/wizards | |
parent | 9aa4a9b1b765d79823b7617bd30aeb4cfd8c0dde (diff) | |
download | pfsense-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.xml | 8 |
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. <p> The system will automatically try to access $myurl in 120 seconds. <p> You can click on the icon above to access the site more quickly. <meta http-equiv="refresh" content="60; url=$myurl" ></description> <stepafterformdisplay> - conf_mount_rw(); - unlink('/conf/trigger_initial_wizard'); - conf_mount_ro(); reload_all(); </stepafterformdisplay> </step> |