Try to suppress scary warning at time of checking for bmc port activity

This commit is contained in:
Jarrod Johnson 2013-08-20 16:31:53 -04:00
parent 7ac9dae5af
commit 2275e87b6f

View File

@ -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