Blame SOURCES/nfs-lock.preconfig

d80804
#!/bin/sh
d80804
d80804
. /etc/sysconfig/nfs
d80804
d80804
# Make sure lockd is loaded
d80804
/sbin/modprobe -q lockd $LOCKDARG
d80804
d80804
# See if the kernel lockd should start up 
d80804
# listening on a particular port
d80804
#
d80804
if [ -n "$LOCKD_TCPPORT" ]; then 
d80804
		/sbin/sysctl -w fs.nfs.nlm_tcpport=$LOCKD_TCPPORT >/dev/null 2>&1
d80804
fi
d80804
if [ -n "$LOCKD_UDPPORT" ]; then
d80804
		/sbin/sysctl -w fs.nfs.nlm_udpport=$LOCKD_UDPPORT >/dev/null 2>&1
d80804
fi
d80804