nfs-utils/nfs-server.postconfig
Steve Dickson 67ebcf9f55 - Converted init scrips to systemd services. (bz 699040)
- Made nfsnobody's uid/gid to always be a 16-bit value of -2

Signed-off-by: Steve Dickson <steved@redhat.com>
2011-08-03 06:09:46 -04:00

18 lines
379 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.
#
# Make sure the modules is loaded
[ -n "$RDMA_PORT" ] && /sbin/modprobe svcrdma
# Enable the server to listen on the given port
[ -n "$RDMA_PORT" ] && echo "rdma $RDMA_PORT" > /proc/fs/nfsd/portlist
exit 0