From 3cc2e2ff42877f39b11295c02adc3e5972951d9f Mon Sep 17 00:00:00 2001 From: jjhua Date: Tue, 27 Mar 2012 02:43:39 +0000 Subject: [PATCH] correct the loop number git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/ib/scripts/configiba.2ports | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/ib/scripts/configiba.2ports b/xCAT-server/share/xcat/ib/scripts/configiba.2ports index e903ef11a..4f7efdccf 100644 --- a/xCAT-server/share/xcat/ib/scripts/configiba.2ports +++ b/xCAT-server/share/xcat/ib/scripts/configiba.2ports @@ -88,7 +88,8 @@ else num=`expr $num + 1` done - loop_number=`lsdev -Cc adapter |grep iba |wc -l` + ib_number=`lsdev -Cc adapter |grep iba |wc -l` + loop_number=`expr $ib_number \* 2` fi