3 # flags of IB devices which present
7 # no profile name by default
10 INFINIBAND="/sys/class/infiniband"
12 if [ -d $INFINIBAND ]; then
13 for dev in `ls -d $INFINIBAND/* | sed -e "s#^$INFINIBAND/##" -e 's#_[0-9]*$##'`; do
14 ver=`echo $dev | sed -ne 's#[^0-9]*##p'`
21 # Set profile name according priority
22 if [ $HFI -ne 0 ]; then
24 elif [ $QIB -ne 0 ]; then
29 exec /sbin/modprobe --ignore-install ko2iblnd$PROFILE $CMDLINE_OPTS