Try to suppress scary warning at time of checking for bmc port activity
This commit is contained in:
parent
7ac9dae5af
commit
2275e87b6f
@ -101,7 +101,7 @@ elif [ "$IPMIMFG" == 20301 ] ; then
|
||||
# reverts to dhcp then static, which setting a static ip for is
|
||||
# considered invalid
|
||||
CURBMCPORT=`ipmitool -d $idev raw 0xc 2 1 0xc0 0 0 | awk '{print $2}'`
|
||||
while [ "$CURBMCPORT" -ne "$BMCPORT" ]; do
|
||||
while [ -z "$CURBMCPORT" -o 0"$CURBMCPORT" -ne "$BMCPORT" ]; do
|
||||
sleep 1
|
||||
CURBMCPORT=`ipmitool -d $idev raw 0xc 2 1 0xc0 0 0 | awk '{print $2}'`
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user