diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-12-17 20:22:17 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-12-17 20:22:17 -0500 |
commit | 86b521eae397fac576ac2abf73c945892bf688fc (patch) | |
tree | 0c1159c6010ee08d955f22108ea663d11d9302d4 /usr/local | |
parent | ba3feae8161772a7d6b5010e2f715e0c19d8628c (diff) | |
download | pfsense-86b521eae397fac576ac2abf73c945892bf688fc.zip pfsense-86b521eae397fac576ac2abf73c945892bf688fc.tar.gz |
Ignore mountpoint for SWAP
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/installer/index.php | 3 |
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]; |