From d896a4118934b237af07266f03d87bf01af22879 Mon Sep 17 00:00:00 2001 From: vallard Date: Wed, 24 Jun 2009 23:31:03 +0000 Subject: [PATCH] added error message for ipmi nodes... for some reason we don't have an rbeacon stat command on ipmi like on blades... git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3633 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/ipmi.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index 204f1d28c..02eda9973 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -1546,7 +1546,9 @@ sub beacon { my $rc = 0; my $text; my $code; - + if($subcommand eq ""){ + return(1,"please specify on or off for ipmi nodes"); + } if($subcommand eq "on") { if ($ipmiv2) { @cmd = (0x04,0x0,0x01);