summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Wilson <wilsonan@us.ibm.com>2018-10-23 01:18:21 -0500
committerAnthony Wilson <wilsonan@us.ibm.com>2019-02-14 13:20:57 -0600
commit189cf2486e4f5273ec26d37d83302d4be9fd7539 (patch)
tree8c92959db750b507540bee545c2e73c2c305e564
parentdc30523034bbea75e7d032a22e998a22866db643 (diff)
downloadphosphor-state-manager-189cf2486e4f5273ec26d37d83302d4be9fd7539.tar.gz
phosphor-state-manager-189cf2486e4f5273ec26d37d83302d4be9fd7539.zip
obmcutil: Add chassiskill option
Change-Id: I9b8289e433bfcf918d430c012ec8879b58e523b0 Signed-off-by: Anthony Wilson <wilsonan@us.ibm.com>
-rw-r--r--obmcutil5
1 files changed, 4 insertions, 1 deletions
diff --git a/obmcutil b/obmcutil
index ed5dbc6..b70babe 100644
--- a/obmcutil
+++ b/obmcutil
@@ -2,7 +2,7 @@
set -euo pipefail
-OPTS="bmcstate,bootprogress,chassisoff,chassison,chassisstate,hoststate,\
+OPTS="bmcstate,bootprogress,chassiskill,chassisoff,chassison,chassisstate,hoststate,\
power,poweroff,poweron,state,status"
USAGE="Usage: obmcutil [-h] [--wait]
@@ -204,6 +204,9 @@ handle_cmd ()
printf "%s = %s\n" $property $STATE
done
;;
+ chassiskill)
+ /usr/libexec/chassiskill
+ ;;
*)
print_usage_err "Invalid command '$1'"
;;
OpenPOWER on IntegriCloud