diff --git a/xCAT/postscripts/enablecapi b/xCAT/postscripts/enablecapi index 628e8f19a..923adacc3 100644 --- a/xCAT/postscripts/enablecapi +++ b/xCAT/postscripts/enablecapi @@ -8,7 +8,7 @@ fi #--------------------------------------------------------------------------- #=head1 enablecapi #=head2 enable CAPI and tunnel Atomics for compute nodes -# at least MOFED 4.3.1 has to be installed and only support on ConnectX5 +# at least MOFED 4.3.1 has to be installed and only support on ConnectX5 # # updatenode enablecapi # @@ -46,7 +46,7 @@ if (( $(echo "$majorversion == 4.3" |bc -l) )); then ERRMSG="Current MOFED version is $version and needs to be at least 4.3-1" logerr $ERRMSG exit 1 - fi + fi fi service mst restart >/dev/null 2>&1 @@ -60,7 +60,7 @@ reboot_flag=0 for x in `ls /dev/mst/mt*` do - mlxconfig -y -d $x q | grep 'ConnectX5' >/dev/null 2>&1 + mlxconfig -y -d $x q | grep 'ConnectX5' >/dev/null 2>&1 if [ $? == 0 ]; then mlxconfig -y -d $x set ADVANCED_PCI_SETTINGS=true >/dev/null 2>&1 mlxconfig -y -d $x set IBM_CAPI_EN=true >/dev/null 2>&1