From: cajus Date: Thu, 29 Mar 2007 10:06:08 +0000 (+0000) Subject: Added "Force localboot" feature X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cdc2bde97ac947112cab47f770dc131350368a07;p=gosa.git Added "Force localboot" feature git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5926 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_servGeneric.inc b/plugins/admin/systems/class_servGeneric.inc index f87db5c50..cc756c73e 100644 --- a/plugins/admin/systems/class_servGeneric.inc +++ b/plugins/admin/systems/class_servGeneric.inc @@ -23,7 +23,8 @@ class servgeneric extends plugin var $netConfigDNS; var $modes = array(); - var $mapActions = array("reboot" => "", + var $mapActions = array("reboot" => "localboot", + "localboot" => "localboot", "instant_update" => "softupdate", "update" => "scheduledupdate", "reinstall" => "install", @@ -172,12 +173,14 @@ class servgeneric extends plugin "reinstall" => _("Reinstall"), "rescan" => _("Rescan hardware"), "memcheck" => _("Memory test"), + "localboot" => _("Force localboot"), "sysinfo" => _("System analysis"))); } else { $smarty->assign("actions", array("wake" => _("Wake up"), "reinstall" => _("Reinstall"), "update" => _("Scheduled update"), "memcheck" => _("Memory test"), + "localboot" => _("Force localboot"), "sysinfo" => _("System analysis"))); } diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc index a2c4af1a6..be1101998 100644 --- a/plugins/admin/systems/class_workstationGeneric.inc +++ b/plugins/admin/systems/class_workstationGeneric.inc @@ -46,6 +46,7 @@ class workgeneric extends plugin var $objectclasses= array("top", "gotoWorkstation", "GOhard","FAIobject"); var $mapActions = array("reboot" => "localboot", + "localboot" => "localboot", "instant_update" => "softupdate", "update" => "scheduledupdate", "reinstall" => "install", @@ -252,12 +253,14 @@ class workgeneric extends plugin "reinstall" => _("Reinstall"), "rescan" => _("Rescan hardware"), "memcheck" => _("Memory test"), + "localboot" => _("Force localboot"), "sysinfo" => _("System analysis"))); } else { $smarty->assign("actions", array("wake" => _("Wake up"), "reinstall" => _("Reinstall"), "update" => _("Scheduled update"), "memcheck" => _("Memory test"), + "localboot" => _("Force localboot"), "sysinfo" => _("System analysis"))); } /* Arrays */