From 73e555fa0c7acc07ab9b98e8ff9dab2ffe0e594a Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 11 Mar 2008 20:39:28 +0000 Subject: [PATCH] -Fix typo in previous checking git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@764 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/share/xcat/cons/ipmi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server-2.0/share/xcat/cons/ipmi b/xCAT-server-2.0/share/xcat/cons/ipmi index 649a0e340..2543693a9 100755 --- a/xCAT-server-2.0/share/xcat/cons/ipmi +++ b/xCAT-server-2.0/share/xcat/cons/ipmi @@ -7,7 +7,7 @@ BEGIN $::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat'; use lib "$::XCATROOT/lib/perl"; use xCAT::Table; -use xCAT::Util; +use xCAT::Utils; my $dba; my $ipmitab = xCAT::Table->new('ipmi'); unless ($ipmitab) { sleep 5; die "Unable to open IPMI table"; } @@ -30,7 +30,7 @@ if ($dba) { if ($dba->{username}) { $username = $dba->{username}; } if ($dba->{password}) { $password = $dba->{password}; } } -xCAT::Util::close_all_dbhs; +xCAT::Utils::close_all_dbhs; system "ipmitool -I lanplus -U $username -P $password -H $bmc sol deactivate"; #Stop any active session exec "ipmitool -I lanplus -U $username -P $password -H $bmc sol activate";