4 [ -f /etc/sysconfig/nfslock ] && . /etc/sysconfig/nfslock
7 # Set the ports lockd should listen on
8 if [ -n "$LOCKD_TCPPORT" ]; then
9 /sbin/sysctl -w fs.nfs.nlm_tcpport=$LOCKD_TCPPORT >/dev/null 2>&1
11 if [ -n "$LOCKD_UDPPORT" ]; then
12 /sbin/sysctl -w fs.nfs.nlm_udpport=$LOCKD_UDPPORT >/dev/null 2>&1