From 0a6c08adc8075de03c13a2a9bf5dd36bf71877ba Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 9 Dec 2005 08:31:07 +0000 Subject: [PATCH] Added automatic to wsStartup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2268 594d385d-05f5-0310-b6e9-bd551577e9d8 --- contrib/gosa.conf | 1 + plugins/admin/systems/class_workstationStartup.inc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/gosa.conf b/contrib/gosa.conf index c1ff3770d..ca2d1093d 100644 --- a/contrib/gosa.conf +++ b/contrib/gosa.conf @@ -119,6 +119,7 @@ {servKolab} + diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index 2d551801a..87c53ee72 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -52,6 +52,7 @@ class workstartup extends plugin $ldap->search("(objectClass=FAIrepository)",array("FAIdebianMirror")); /* attach all attributes with "index => cn" to avoid multiple entries */ + $this->FAIdebianMirrors['auto']=_("automatic"); while($attr = $ldap->fetch()){ if(isset($attr['FAIdebianMirror'])){ $this->FAIdebianMirrors[$attr['FAIdebianMirror'][0]]=$attr['FAIdebianMirror'][0]; @@ -587,7 +588,7 @@ class workstartup extends plugin if($this->FAIdebianMirror == "none"){ $this->FAIdebianMirror = ""; } - + if((count($this->attrs['FAIclass'])==0)&&(empty($this->FAIdebianMirror))){ $tmp = array(); foreach($this->attrs['objectClass'] as $class){ -- 2.30.2