summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9113127)
raw | patch | inline | side by side (parent: 9113127)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Nov 2008 16:23:18 +0000 (16:23 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Nov 2008 16:23:18 +0000 (16:23 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12945 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc
index ceaf0cf2371ed23db85def291988f2286fd05ea1..82c7b691559817586f21abf692859b82ca38b9df 100644 (file)
var $gotoLdap_inherit = FALSE;
/* Generic terminal attributes */
- var $bootmode = "G";
+ # This is disabled as long there is no possiblilty to set these parameters
+ #var $bootmode = "G";
+ var $bootmode = "";
var $gotoBootKernel = "default-inherited";
var $gotoKernelParameters = "";
var $gotoLdapServer = "default-inherited";
}
/* Parse Kernel Parameters to decide what boot mode is enabled */
- if (preg_match("/ splash=silent/", $this->gotoKernelParameters)){
- $this->bootmode= "G";
- } elseif (preg_match("/ debug/", $this->gotoKernelParameters)){
- $this->bootmode= "D";
- } elseif ($this->gotoKernelParameters == "") {
- $this->bootmode= "G";
- } else {
- $this->bootmode= "T";
- }
+ #if (preg_match("/ splash/", $this->gotoKernelParameters)){
+ # $this->bootmode= "G";
+ #} elseif (preg_match("/ debug/", $this->gotoKernelParameters)){
+ # $this->bootmode= "D";
+ #} elseif ($this->gotoKernelParameters == "") {
+ # $this->bootmode= "G";
+ #} else {
+ # $this->bootmode= "T";
+ #}
if (preg_match("/ o /", $this->gotoKernelParameters)){
$this->customParameters= preg_replace ("/^.* o /", "", $this->gotoKernelParameters);
} else {
}
/* Add semi automatic values */
- // FIXME: LDAP Server may not be set here...
- $this->gotoKernelParameters= "ldap=".base64_encode($this->gotoLdapServer);
+ $this->gotoKernelParameters= "";
switch ($this->bootmode){
case "D":
$this->gotoKernelParameters.= " debug";
break;
case "G":
- $this->gotoKernelParameters.= " splash=silent";
+ $this->gotoKernelParameters.= " splash quiet";
break;
}
if ($this->customParameters != ""){
- $this->gotoKernelParameters.= " o ".$this->customParameters;
+ # This should be enabled after boot-mode is available again
+ #$this->gotoKernelParameters.= " o ".$this->customParameters;
+ $this->gotoKernelParameters= $this->customParameters;
}
plugin::save();