From: hickert Date: Thu, 21 Jun 2007 10:06:26 +0000 (+0000) Subject: Allow - as mount point, it is used in raids X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2e75c65cdb93fd8102beb9a253e7485a6148441d;p=gosa.git Allow - as mount point, it is used in raids git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6654 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiPartitionTableEntry.inc b/plugins/admin/fai/class_faiPartitionTableEntry.inc index 76d2fcb58..1b9a5b9da 100644 --- a/plugins/admin/fai/class_faiPartitionTableEntry.inc +++ b/plugins/admin/fai/class_faiPartitionTableEntry.inc @@ -362,7 +362,7 @@ class faiPartitionTableEntry extends plugin $message[]=sprintf(_("please enter a unique mount point for partition %s"),($key)); } - if($part['FAIfsType']!="swap"){ + if($part['FAIfsType']!="swap" && $part['FAImountPoint'] != "-"){ if((empty($part['FAImountPoint']))||(!((preg_match("/^\/.*/",$part['FAImountPoint']))||(preg_match("/^swap$/",$part['FAImountPoint']))))){ $message[]=sprintf(_("Please enter a valid mount point for partition %s." ),($key)); }