Code

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

plugins/admin/systems/class_workstationGeneric.inc

index 94d08ba4e865028db4063be339f180086db4ef1e..202cfb9f59839c1a7051fa724f516d6a152bcafc 100644 (file)
@@ -159,7 +159,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();