2011-08-03 10:09:46 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
. /etc/sysconfig/nfs
|
|
|
|
|
|
|
|
#
|
|
|
|
# Enabled the RDMA server support if configured to do so.
|
|
|
|
#
|
2011-08-03 19:02:59 +00:00
|
|
|
# Load the module and then enable the server to listen
|
|
|
|
# on the given port
|
|
|
|
if [ -n "$RDMA_PORT" ]; then
|
|
|
|
/sbin/modprobe svcrdma
|
|
|
|
echo "rdma $RDMA_PORT" > /proc/fs/nfsd/portlist
|
|
|
|
fi
|
2011-08-03 10:09:46 +00:00
|
|
|
|
|
|
|
exit 0
|