67ebcf9
#!/bin/sh
67ebcf9
67ebcf9
. /etc/sysconfig/nfs
67ebcf9
67ebcf9
# Tell idmapd the server is up and running
67ebcf9
/usr/bin/pkill -HUP rpc.idmapd
67ebcf9
67ebcf9
#
67ebcf9
# Enabled the RDMA server support if configured to do so.
67ebcf9
# 
eff46c4
# Load the module and  then enable the server to listen 
eff46c4
# on the given port
eff46c4
if [ -n "$RDMA_PORT" ]; then 
eff46c4
	/sbin/modprobe svcrdma
eff46c4
	echo "rdma $RDMA_PORT" > /proc/fs/nfsd/portlist
eff46c4
fi
67ebcf9
67ebcf9
exit 0