From cc7042f2effad8f61a26115f84a4be1c0ac7cdd1 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Sat, 25 Feb 2012 16:31:58 +0000 Subject: [PATCH] There is no reliable cue for how long after the switch between dedicated and shared to continue, so just go with the 10 second sleep git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11682 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-nbroot2/bmcsetup | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/xCAT-nbroot2/bmcsetup b/xCAT-nbroot2/bmcsetup index abe6641c8..c62770c0f 100755 --- a/xCAT-nbroot2/bmcsetup +++ b/xCAT-nbroot2/bmcsetup @@ -77,11 +77,7 @@ elif [ "$IPMIMFG" == 20301 ] ; then for p in $BMCPORT; do ipmitool -d $idev raw 0xc 1 1 0xc0 $BMCPORT > /dev/null NEWPORT=`ipmitool -d $idev raw 0xc 2 1 0xc0 0 0|awk '{print $2}'` - while [ "$NEWPORT" != "$BMCPORT" ]; do - sleep 0.1 - NEWPORT=`ipmitool -d $idev raw 0xc 2 1 0xc0 0 0|awk '{print $2}'` - done - sleep 5 + sleep 10 let idev=idev-1 done