nfs-utils/nfs-server.postconfig
Steve Dickson eff46c41a5 Cleaned up the .preconfig and .postconfig files per code review request.
Signed-off-by: Steve Dickson <steved@redhat.com>
2011-08-03 15:02:59 -04:00

19 lines
362 B
Bash

#!/bin/sh
. /etc/sysconfig/nfs
# Tell idmapd the server is up and running
/usr/bin/pkill -HUP rpc.idmapd
#
# Enabled the RDMA server support if configured to do so.
#
# 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
exit 0