67ebcf9f55
- Made nfsnobody's uid/gid to always be a 16-bit value of -2 Signed-off-by: Steve Dickson <steved@redhat.com>
18 lines
431 B
Bash
18 lines
431 B
Bash
#!/bin/sh
|
|
|
|
. /etc/sysconfig/nfs
|
|
|
|
# Make sure lockd is loaded
|
|
/sbin/modprobe -q lockd $LOCKDARG
|
|
|
|
# See if the kernel lockd should start up
|
|
# listening on a particular port
|
|
#
|
|
if [ -n "$LOCKD_TCPPORT" -o -n "$LOCKD_UDPPORT" ]; then
|
|
[ -n "$LOCKD_TCPPORT" ] && \
|
|
/sbin/sysctl -w fs.nfs.nlm_tcpport=$LOCKD_TCPPORT >/dev/null 2>&1
|
|
[ -n "$LOCKD_UDPPORT" ] && \
|
|
/sbin/sysctl -w fs.nfs.nlm_udpport=$LOCKD_UDPPORT >/dev/null 2>&1
|
|
fi
|
|
|