2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 19:20:24 +00:00

Merge pull request #3584 from samveen/fix_3583

Fix bug introduced into `bmcsetup` by commit `bb460dc`
This commit is contained in:
zet809
2017-08-02 19:25:37 +08:00
committed by GitHub

View File

@@ -429,7 +429,7 @@ for user in $BMCUS; do
if [ -z "$USERSLOT" ]; then
USERSLOT=$((`ipmitool raw 6 0x44 1 1|awk '{print $3}'` + 1))
fi
if [ "$USERSLOT" == 0 ]; then USERSLOT=2; fi
if [ "$USERSLOT" == 0 -o -z "$LOCKEDUSERS" ]; then USERSLOT=2; fi
if [ "$ISITE" = 1 ]; then
allowcred.awk &
CREDPID=$!