summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b90774a)
raw | patch | inline | side by side (parent: b90774a)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 31 Mar 2009 15:12:35 +0000 (15:12 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 31 Mar 2009 15:12:35 +0000 (15:12 +0000) |
previously commits to this file, as proposed by mba.
(Trac: #2298)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13573 594d385d-05f5-0310-b6e9-bd551577e9d8
(Trac: #2298)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13573 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc
index 134ec25561d0b5f88d1b6e97664acb83e7d54977..4d1eae95178eeb4d55674f218d7f885de763fefb 100644 (file)
var $gotoLdap_inherit = FALSE;
/* Generic terminal attributes */
- # This is disabled as long there is no possiblilty to set these parameters
- #var $bootmode = "G";
- var $bootmode = "";
+ var $bootmode = "G";
var $gotoBootKernel = "default-inherited";
var $gotoKernelParameters = "";
var $gotoLdapServer = "default-inherited";
}
}
+ if ($this->gotoKernelParameters == "") {
+ /* Add semi automatic values if empty */
+ // FIXME: LDAP Server may not be set here...
+ $this->gotoKernelParameters= "ldap=".base64_encode($this->gotoLdapServer);
+
+ switch ($this->bootmode){
+ case "D":
+ $this->gotoKernelParameters.= " debug";
+ break;
+ case "G":
+ $this->gotoKernelParameters.= " splash=silent";
+ break;
+ }
+ }
+
plugin::save();
unset( $this->attrs['FAIrelease'] );