summaryrefslogtreecommitdiffstats
path: root/usr/local/www/index.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-24 15:55:20 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-24 15:55:20 +0000
commit0912dd26dd7b6ab379350995782942fd9b0cc09d (patch)
treeffc5266a541bbd76f1d207525a94a0a8cda05edf /usr/local/www/index.php
parente325b48469e421c5a0223527ef8fefb87831b182 (diff)
downloadpfsense-0912dd26dd7b6ab379350995782942fd9b0cc09d.zip
pfsense-0912dd26dd7b6ab379350995782942fd9b0cc09d.tar.gz
Do not launch the wizard if the platform is cdrom
Diffstat (limited to 'usr/local/www/index.php')
-rwxr-xr-xusr/local/www/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 402c878..d7a9067 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -50,7 +50,7 @@ if(file_exists("/needs_package_sync")) {
}
}
-if(file_exists("/trigger_initial_wizard")) {
+if(file_exists("/trigger_initial_wizard") and $g['platform' <> "cdrom") {
conf_mount_rw();
unlink("/trigger_initial_wizard");
conf_mount_ro();
OpenPOWER on IntegriCloud