Code

No FAIstate when doing a wakeup
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Nov 2006 06:09:18 +0000 (06:09 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Nov 2006 06:09:18 +0000 (06:09 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5094 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationGeneric.inc

index 9620d0592f5656b9a5097b73f002b05f42541d4b..507fbb4523fa7b89a1673a4fcf42ee06785778b3 100644 (file)
@@ -142,7 +142,7 @@ class workgeneric extends plugin
         exec ($cmd." ".$this->netConfigDNS->macAddress." ".escapeshellarg($_POST['saction']), $dummy, $retval);
         if ($retval != 0){
           print_red(sprintf(_("Execution of '%s' failed!"), $cmd));
-        } else {
+        } elseif ($_POST['saction'] != "wake") {
 
           /* Set FAIstate */
           $ldap = $this->config->get_ldap_link();