summaryrefslogtreecommitdiffstats
path: root/usr/local/www/installer.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-08-01 17:45:11 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-08-01 17:45:11 -0400
commitf5fb20345798b3d19e728b049d7ef8750a32e5ce (patch)
treeb2663b9b28b52cea86c089154556abd54996b190 /usr/local/www/installer.php
parent9c6421ee62ad5b950d91d0c095fcb5efc7cd4b22 (diff)
downloadpfsense-f5fb20345798b3d19e728b049d7ef8750a32e5ce.zip
pfsense-f5fb20345798b3d19e728b049d7ef8750a32e5ce.tar.gz
Handle umount outside of installer in php
Diffstat (limited to 'usr/local/www/installer.php')
-rw-r--r--usr/local/www/installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/installer.php b/usr/local/www/installer.php
index 27e3fa8..6736bb1 100644
--- a/usr/local/www/installer.php
+++ b/usr/local/www/installer.php
@@ -106,8 +106,8 @@ function start_installation() {
fwrite($fd, "/PCBSD/pc-sysinstall/pc-sysinstall -c /PCBSD/pc-sysinstall/examples/pfSense-install.cfg \n");
fwrite($fd, "chmod a+rx /usr/local/bin/after_installation_routines.sh\n");
fwrite($fd, "cd / && /usr/local/bin/after_installation_routines.sh\n");
+ fwrite($fd, "umount /mnt\n");
fwrite($fd, "touch /tmp/install_complete\n");
-
fclose($fd);
exec("chmod a+rx /tmp/installer.sh");
mwexec_bg("sh /tmp/installer.sh");
OpenPOWER on IntegriCloud