summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 327cff8)
raw | patch | inline | side by side (parent: 327cff8)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Feb 2008 15:56:41 +0000 (15:56 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Feb 2008 15:56:41 +0000 (15:56 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8965 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_servGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_servGeneric.inc b/gosa-plugins/systems/admin/systems/class_servGeneric.inc
index ac8d330eb1ec2f79035193821982417624397486..a111d7cc9d30d3dc1ff5a5f18b86214ae1a7b041 100644 (file)
$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"),