summaryrefslogtreecommitdiffstats
path: root/usr/local/www/installer/index.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-12-17 20:22:17 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-12-17 20:22:17 -0500
commit86b521eae397fac576ac2abf73c945892bf688fc (patch)
tree0c1159c6010ee08d955f22108ea663d11d9302d4 /usr/local/www/installer/index.php
parentba3feae8161772a7d6b5010e2f715e0c19d8628c (diff)
downloadpfsense-86b521eae397fac576ac2abf73c945892bf688fc.zip
pfsense-86b521eae397fac576ac2abf73c945892bf688fc.tar.gz
Ignore mountpoint for SWAP
Diffstat (limited to 'usr/local/www/installer/index.php')
-rw-r--r--usr/local/www/installer/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/installer/index.php b/usr/local/www/installer/index.php
index 88f01f7..13443dc 100644
--- a/usr/local/www/installer/index.php
+++ b/usr/local/www/installer/index.php
@@ -447,7 +447,8 @@ function verify_before_install() {
// Loop through posted items and create an array
for($x=1; isset($_REQUEST['fstype' . $x]); $x++) {
$tmparray = array();
- $tmparray['mountpoint'] = $_REQUEST['mountpoint' . $x];
+ if($_REQUEST['fstype'] <> "SWAP")
+ $tmparray['mountpoint'] = $_REQUEST['mountpoint' . $x];
$tmparray['disk'] = $_REQUEST['disk' . $x];
$tmparray['fstype'] = $_REQUEST['fstype' . $x];
$tmparray['size'] = $_REQUEST['size' . $x];
OpenPOWER on IntegriCloud