diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-08-01 17:45:11 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-08-01 17:45:11 -0400 |
commit | f5fb20345798b3d19e728b049d7ef8750a32e5ce (patch) | |
tree | b2663b9b28b52cea86c089154556abd54996b190 /usr/local/www | |
parent | 9c6421ee62ad5b950d91d0c095fcb5efc7cd4b22 (diff) | |
download | pfsense-f5fb20345798b3d19e728b049d7ef8750a32e5ce.zip pfsense-f5fb20345798b3d19e728b049d7ef8750a32e5ce.tar.gz |
Handle umount outside of installer in php
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/installer.php | 2 |
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"); |