From 217e7d21bd9aa5b54b81e32f918939a6e769524c Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 6 Oct 2008 14:20:50 +0000 Subject: [PATCH] Added auto activate to thin clients git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12613 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_terminalGeneric.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc index 6c0510182..d2ccc9cbe 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc @@ -23,6 +23,7 @@ class termgeneric extends plugin var $ghSoundAdapter= "-"; var $gotoLastUser= "-"; var $netConfigDNS; + var $auto_activate= FALSE; /* Needed values and lists */ var $base= ""; @@ -497,9 +498,8 @@ class termgeneric extends plugin /* Detect mode changes */ $activate= (isset($this->saved_attributes['gotoMode']) && $this->gotoMode != $this->saved_attributes['gotoMode'] && - $this->gotoMode == "enabled" && - tests::is_ip($this->netConfigDNS->ipHostNumber)); - + $this->gotoMode == "active" && + tests::is_ip($this->netConfigDNS->ipHostNumber)) || $this->auto_activate; plugin::save(); /* Strip out 'default' values */ -- 2.30.2