From 86b521eae397fac576ac2abf73c945892bf688fc Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 17 Dec 2010 20:22:17 -0500 Subject: Ignore mountpoint for SWAP --- usr/local/www/installer/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr') 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]; -- cgit v1.1