From: cajus Date: Tue, 19 Feb 2008 15:56:41 +0000 (+0000) Subject: Removed fping from server X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=add3517016b4adf2fe45028377899c4fda653602;p=gosa.git Removed fping from server git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8965 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc index ac8d330eb..a111d7cc9 100644 --- a/gosa-plugins/systems/admin/systems/class_servGeneric.inc +++ b/gosa-plugins/systems/admin/systems/class_servGeneric.inc @@ -200,11 +200,7 @@ class servgeneric extends plugin $smarty->assign("base_select", $this->base); /* Assign status */ - $query= "fping -q -r 1 -t 500 ".$this->cn; - exec ($query, $dummy, $retval); - - /* Offline */ - if ($retval == 0){ + if (gosaSupportDaemon::ping($this->netConfigDNS->macAddress)){ $smarty->assign("actions", array("halt" => _("Switch off"), "reboot" => _("Reboot"), "instant_update" => _("Instant update"), "update" => _("Scheduled update"),