From 16c072994fc6cf28b29ae71b156f890e21f79737 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 25 Jan 2006 06:22:43 +0000 Subject: [PATCH] Reverted changes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2561 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_terminalGeneric.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/admin/systems/class_terminalGeneric.inc b/plugins/admin/systems/class_terminalGeneric.inc index c2689cf06..5c825dcae 100644 --- a/plugins/admin/systems/class_terminalGeneric.inc +++ b/plugins/admin/systems/class_terminalGeneric.inc @@ -87,7 +87,7 @@ class termgeneric extends plugin if (isset($_POST['action'])){ switch($_POST['saction']){ case 'wake': - $cmd= search_config($this->config->data['TABS'], "terminfo", "WAKECMD"); + $cmd= search_config($this->config->data['TABS'], "termgeneric", "WAKECMD"); if ($cmd == ""){ print_red(_("No WAKECMD definition found in your gosa.conf")); } else { @@ -99,7 +99,7 @@ class termgeneric extends plugin break; case 'reboot': - $cmd= search_config($this->config->data['TABS'], "terminfo", "REBOOTCMD"); + $cmd= search_config($this->config->data['TABS'], "termgeneric", "REBOOTCMD"); if ($cmd == ""){ print_red(_("No REBOOTCMD definition found in your gosa.conf")); } else { @@ -111,7 +111,7 @@ class termgeneric extends plugin break; case 'halt': - $cmd= search_config($this->config->data['TABS'], "terminfo", "HALTCMD"); + $cmd= search_config($this->config->data['TABS'], "termgeneric", "HALTCMD"); if ($cmd == ""){ print_red(_("No HALTCMD definition found in your gosa.conf")); } else { -- 2.30.2