summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 23a5be3)
raw | patch | inline | side by side (parent: 23a5be3)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Jan 2008 13:37:33 +0000 (13:37 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Jan 2008 13:37:33 +0000 (13:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8313 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/fai/class_faiPartitionTableEntry.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/fai/class_faiPartitionTableEntry.inc b/gosa-core/plugins/admin/fai/class_faiPartitionTableEntry.inc
index bb2278ed031ba220563c21113257aa6478026ff4..d72ec5149f0efcbcc0698ad76d2e50802f288307 100644 (file)
/* Save data to object */
function save_object()
{
-
-
if((isset($_POST['TableEntryFrameSubmitted'])) && ($this->FAIstate != "freeze") ){
plugin::save_object();
$this->partitions[$key]["FAIencrypted"] = false;
}
}
+
+ /* Adapt ext3 to have -j option */
+ if ($this->partitions[$key]["FAIfsType"] == "ext3") {
+ $this->partitions[$key]["FAIfsOptions"]= preg_replace('/\s*-j\s*/', '', $this->partitions[$key]["FAIfsOptions"]);
+ $this->partitions[$key]["FAIfsOptions"]= "-j ".$this->partitions[$key]["FAIfsOptions"];
+ }
}
+
}
}