summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-08-01 17:26:01 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-08-01 17:26:01 -0400
commitdcf479cf221f47d2b2cd6a24da96a2d4cf5e23f1 (patch)
treeda92bd046bb0c1bd58533f7eabe1ecb3cbce7e6c
parent8a4cf948b7d6f49a3956a9539dd79a20655bf30a (diff)
downloadpfsense-dcf479cf221f47d2b2cd6a24da96a2d4cf5e23f1.zip
pfsense-dcf479cf221f47d2b2cd6a24da96a2d4cf5e23f1.tar.gz
Do not kick off a install if we have already completed
-rw-r--r--usr/local/www/installer.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/installer.php b/usr/local/www/installer.php
index 4879c08..c16368b 100644
--- a/usr/local/www/installer.php
+++ b/usr/local/www/installer.php
@@ -93,6 +93,8 @@ EOF;
function start_installation() {
global $g;
+ if(file_exists("/tmp/install_complete"))
+ return;
$ps_running = exec("ps awwwux | grep -v grep | grep 'sh /tmp/installer.sh'");
if($ps_running)
return;
OpenPOWER on IntegriCloud