From 84f4e4d2d41b947460a230fd89fe362c5f563255 Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 1 Jul 2010 09:48:16 +0000 Subject: [PATCH] rpower softoff for system p partitions git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCcli.pm | 1 + perl-xCAT/xCAT/PPCpower.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/PPCcli.pm b/perl-xCAT/xCAT/PPCcli.pm index 69bb6e00f..abafaaa4f 100644 --- a/perl-xCAT/xCAT/PPCcli.pm +++ b/perl-xCAT/xCAT/PPCcli.pm @@ -55,6 +55,7 @@ my %powercmd = ( sms =>"chsysstate -r %s -m %s -o on --id %s -f %s -b sms", reset =>"chsysstate -r %s -m %s -o shutdown --id %s --immed --restart", off =>"chsysstate -r %s -m %s -o shutdown --id %s --immed", + softoff =>"chsysstate -r %s -m %s -o shutdown --id %s", boot =>"undetermined" }, sys => { reset =>"chsysstate -r %s -m %s -o off --immed --restart", diff --git a/perl-xCAT/xCAT/PPCpower.pm b/perl-xCAT/xCAT/PPCpower.pm index a973f618b..2c180f1d4 100644 --- a/perl-xCAT/xCAT/PPCpower.pm +++ b/perl-xCAT/xCAT/PPCpower.pm @@ -16,7 +16,7 @@ sub parse_args { my $command = $request->{command}; my $args = $request->{arg}; my %opt = (); - my @rpower = qw(on onstandby off stat state reset boot of sms); + my @rpower = qw(on onstandby off softoff stat state reset boot of sms); ############################################# # Responds with usage statement