mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-03 03:50:08 +00:00
Merge pull request #4089 from zet809/fix_issue_4065
fix issue 4065: bmcsetup as postscript hangs due to background process
This commit is contained in:
commit
5066be7ec5
@ -640,6 +640,17 @@ while [ $idev -gt 0 ]; do
|
||||
|
||||
logger -s -t $log_label -p local4.info "Lighting Identify Light"
|
||||
if [ "$XPROD" = "43707" -a "$IPMIMFG" = '0' ]; then
|
||||
ISOPENPOWER=1
|
||||
elif [ "$IPMIMFG" = "10876" ];then
|
||||
# Handle Supermicro Servers (MFG=10876)
|
||||
# Boston (PROD=2437), Briggs/Stratton (PROD=2355)
|
||||
if [ "$XPROD" = "2437" -o "$XPROD" = "2355" ]; then
|
||||
ISOPENPOWER=1
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
if [ "$ISOPENPOWER" = '1' ]; then
|
||||
# OpenPOWER BMC specific, turn on the LED beacon light.
|
||||
# - default interval, # ipmitool chassis identify
|
||||
# Chassis identify interval: default (15 seconds)
|
||||
|
Loading…
x
Reference in New Issue
Block a user