From 1371f9fb0b601838eda78e6daa92d672647294a6 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 29 Mar 2007 10:09:26 +0000 Subject: [PATCH] Added "Force localboot" git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5927 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servGeneric.inc | 3 +++ plugins/admin/systems/class_workstationGeneric.inc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/plugins/admin/systems/class_servGeneric.inc b/plugins/admin/systems/class_servGeneric.inc index 27c454131..be0ae77af 100644 --- a/plugins/admin/systems/class_servGeneric.inc +++ b/plugins/admin/systems/class_servGeneric.inc @@ -30,6 +30,7 @@ class servgeneric extends plugin var $ui ; var $mapActions = array("reboot" => "", "instant_update" => "softupdate", + "localboot" => "localboot", "update" => "sceduledupdate", "reinstall" => "install", "rescan" => "", @@ -203,12 +204,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 36c9d3eb3..f26f4a445 100644 --- a/plugins/admin/systems/class_workstationGeneric.inc +++ b/plugins/admin/systems/class_workstationGeneric.inc @@ -51,6 +51,7 @@ class workgeneric extends plugin var $objectclasses= array("top", "gotoWorkstation", "GOhard"); var $mapActions = array("reboot" => "localboot", + "localboot" => "localboot", "instant_update" => "softupdate", "update" => "sceduledupdate", "reinstall" => "install", @@ -287,12 +288,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 */ -- 2.30.2