summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5572cf0)
raw | patch | inline | side by side (parent: 5572cf0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 21 Feb 2006 04:58:20 +0000 (04:58 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 21 Feb 2006 04:58:20 +0000 (04:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2706 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiPartitionTableEntry.inc | patch | blob | history |
diff --git a/plugins/admin/fai/class_faiPartitionTableEntry.inc b/plugins/admin/fai/class_faiPartitionTableEntry.inc
index 219f62da77375c70383bb6f10945fc15e8b02cdc..408b361d20d06518fdd8020bdf5a96fea49efcbe 100644 (file)
}
}
+ $cnt = 0;
+ foreach($this->partitions as $key => $part){
+ if($part['FAIpartitionType'] == "primary"){
+ $cnt ++ ;
+ }
+ }
+ if($cnt > 3){
+ $message[] = _("You have more than 3 primary partition table entries in your configuration, please check your configuration twice.");
+ }
+
return ($message);
}