diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc
index 237919660514b6378870c85d50992e52ae2bda42..9620d0592f5656b9a5097b73f002b05f42541d4b 100644 (file)
"ghGfxAdapter", "ghSoundAdapter", "gotoLastUser", "l","FAIscript");
var $objectclasses= array("top", "gotoWorkstation", "GOhard","FAIobject");
- var $mapActions = array("reboot" => "",
+ var $mapActions = array("reboot" => "localboot",
"instant_update" => "softupdate",
"update" => "sceduledupdate",
"reinstall" => "install",
- function workgeneric ($config, $dn= NULL)
+ function workgeneric ($config, $dn= NULL, $parent= NULL)
{
- plugin::plugin ($config, $dn);
+ plugin::plugin ($config, $dn, $parent);
$this->netConfigDNS = new termDNS($this->config,$this->dn,$this->objectclasses);
/* Read arrays */
/* Strip out 'default' values */
foreach (array("gotoSyslogServer") as $val){
-
- if ($this->attrs[$val] == "default"){
+ if (!isset($this->attrs[$val]) || $this->attrs[$val] == "default"){
$this->attrs[$val]= array();
}
}