commit | c6713cff6f28a6d78146a7406123e66ce1d5d320 | [log] [tgz] |
---|---|---|
author | Yong Li <yong.b.li@linux.intel.com> | Wed Sep 12 12:35:13 2018 +0800 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Tue Sep 25 15:17:24 2018 +0000 |
tree | 1edf33dc342edb279aaa1c085e2ad7032165efc1 | |
parent | 069db2fd856db744a254120ed3054d49f241ae80 [diff] |
Implement chassis set power restore policy command Implement the IPMI set power restore policy command 0x06. This command can be used to configure the power restore policy. This configuration parameter is kept in nonvolatile storage. The power restore policy determines how the system or chassis behaves when AC power returns after an AC power loss Tested: Run the below command to check the current Power Restore Policy: ipmitool -H <IP> -P 0penBmc -I lanplus chassis status Run the below command to change it: ipmitool -H <IP> -P 0penBmc -I lanplus chassis policy always-off Change-Id: I224912890f9a9e8b4dc98f840cd6f223c9f7dfe5 Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.