#!/bin/sh
set -e

# update openib.conf
init_conf_file=/etc/infiniband/openib.conf
if [ -e $init_conf_file ] &&
		! grep -q 'SRP_LOAD=' $init_conf_file; then
	cat <<EOF >>$init_conf_file
# Load SRP module
SRP_LOAD=no
EOF
fi

#DEBHELPER#

exit 0
