diff --git a/plugins/admin/systems/class_servGeneric.inc b/plugins/admin/systems/class_servGeneric.inc
index 2982bac665808136a17db08357cc93f75fcb60ff..cc756c73e6228d9297efda0e66a2c09715ea6cb1 100644 (file)
class servgeneric extends plugin
{
class servgeneric extends plugin
{
- /* CLI vars */
- var $cli_summary= "Manage server base objects";
- var $cli_description= "Some longer text\nfor help";
- var $cli_parameters= array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser");
-
/* Generic terminal attributes */
var $ignore_account= TRUE;
var $interfaces= array();
/* Generic terminal attributes */
var $ignore_account= TRUE;
var $interfaces= array();
var $netConfigDNS;
var $modes = array();
var $netConfigDNS;
var $modes = array();
- var $mapActions = array("reboot" => "",
+ var $mapActions = array("reboot" => "localboot",
+ "localboot" => "localboot",
"instant_update" => "softupdate",
"update" => "scheduledupdate",
"reinstall" => "install",
"instant_update" => "softupdate",
"update" => "scheduledupdate",
"reinstall" => "install",
"reinstall" => _("Reinstall"),
"rescan" => _("Rescan hardware"),
"memcheck" => _("Memory test"),
"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"),
"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")));
}
"sysinfo" => _("System analysis")));
}