From 02e1170d67f5e2d3a4aa531ba900fc954cecf20d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 26 Mar 2005 20:23:27 +0000 Subject: Mount flash r/w to remove /usr/local/www/trigger_initial_wizard --- usr/local/www/diag_backup.php | 7 ++++++- usr/local/www/index.php | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'usr/local') diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index 57e5eb7..245b9f3 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -194,6 +194,11 @@ if (isset($config['system']['version_control'])) { } } +$id = rand() . '.' . time(); + +$mth = ini_get('upload_progress_meter.store_method'); +$dir = ini_get('upload_progress_meter.file.filename_template'); + ?> @@ -206,7 +211,7 @@ if (isset($config['system']['version_control'])) {

Diagnostics: Backup/restore

-
+ 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 "
"; echo "Welcome to pfSense!

"; echo "One moment while we start the initial setup wizard.

"; echo "Embedded platform users: Please be patient, the wizard takes a little longer to run than the normal gui.

"; echo "To bypass the wizard, click on the pfSense wizard on the initial page."; echo ""; + exit; } require("guiconfig.inc"); -- cgit v1.1