From 6e66cb7ec9a18942fddff04faf9be575bbaf8b9d Mon Sep 17 00:00:00 2001 From: ertaozh Date: Thu, 12 Oct 2017 04:30:09 -0400 Subject: [PATCH] fix issue 4065: bmcsetup as postscript hangs due to background process --- xCAT-genesis-scripts/bin/bmcsetup | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/xCAT-genesis-scripts/bin/bmcsetup b/xCAT-genesis-scripts/bin/bmcsetup index 7b712a0d9..c0d5cdef5 100755 --- a/xCAT-genesis-scripts/bin/bmcsetup +++ b/xCAT-genesis-scripts/bin/bmcsetup @@ -640,6 +640,16 @@ while [ $idev -gt 0 ]; do logger -s -t $log_label -p local4.info "Lighting Identify Light" if [ "$XPROD" = "43707" -a "$IPMIMFG" = '0' ]; then + ISOPENPOEWR=1 + elif [ "$IPMIMFG" = "10876" ];then + # MFG=10876 and PROD=2437 is for BOSTON server and MFG=10876 and PROD=2355 is for B&S server + if [ "$XPROD" = "2437" -o "$XPROD" = "2355" ]; then + ISOPENPOEWR=1 + fi + fi + + + if [ "$ISOPENPOEWR" = '1' ]; then # OpenPOWER BMC specific, turn on the LED beacon light. # - default interval, # ipmitool chassis identify # Chassis identify interval: default (15 seconds)