obmcutil: Add chassiskill option
Change-Id: I9b8289e433bfcf918d430c012ec8879b58e523b0
Signed-off-by: Anthony Wilson <wilsonan@us.ibm.com>
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 @@
printf "%s = %s\n" $property $STATE
done
;;
+ chassiskill)
+ /usr/libexec/chassiskill
+ ;;
*)
print_usage_err "Invalid command '$1'"
;;