-Warn if the boot timer cannot be disabled, but do the rest anyway

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-06-22 19:28:08 +00:00
parent 379999e08e
commit 1edb5add5c

View File

@ -891,10 +891,13 @@ sub setboot_timerdisabled {
if ($rsp->{code}) {
if ($codes{$rsp->{code}}) {
sendmsg([1,$codes{$rsp->{code}}],$sessdata->{node});
return;
} elsif ($rsp->{code} == 0x80) {
sendmsg("Unable to disable countdown timer, boot device may revert in 60 seconds",$sessdata->{node});
} else {
sendmsg([1,sprintf("Unknown ipmi error %02xh",$rsp->{code})],$sessdata->{node});
return;
}
return;
}
my $error;
@ARGV=@{$sessdata->{extraargs}};