From add3517016b4adf2fe45028377899c4fda653602 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 19 Feb 2008 15:56:41 +0000 Subject: [PATCH] Removed fping from server git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8965 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_servGeneric.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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"), -- 2.30.2