From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 20 Feb 2007 22:02:55 -0000 Subject: [Cluster-devel] cluster/fence/agents/ilo fence_ilo.pl Message-ID: <20070220220255.30899.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL4 Changes by: rmccabe at sourceware.org 2007-02-20 22:02:55 Modified files: fence/agents/ilo: fence_ilo.pl Log message: - Support for HP ilo2 Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/ilo/fence_ilo.pl.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.3.2.2&r2=1.3.2.3 --- cluster/fence/agents/ilo/fence_ilo.pl 2007/02/12 20:33:58 1.3.2.2 +++ cluster/fence/agents/ilo/fence_ilo.pl 2007/02/20 22:02:54 1.3.2.3 @@ -346,13 +346,15 @@ # As of firmware version 1.71 (RIBCL 2.21) The SET_HOST_POWER command # is no longer available. HOLD_PWR_BTN and PRESS_PWR_BTN are used # instead now :( - if ($ribcl_vers < 2.21 ) + if ($ribcl_vers < 2.21) { sendsock $socket, "\n"; } else { - if ($state eq "Y" ) + if ($ribcl_vers > 2.21) { + sendsock $socket, "\n"; + } elsif ($state eq "Y" ) { sendsock $socket, "\n"; }