]> git.pld-linux.org Git - packages/nfs-utils.git/blob - nfs-lock.preconfig
- updated to 2.6.4
[packages/nfs-utils.git] / nfs-lock.preconfig
1 #!/bin/sh
2
3 # Get service config
4 [ -f /etc/sysconfig/nfslock ] && . /etc/sysconfig/nfslock
5
6
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
10 fi
11 if [ -n "$LOCKD_UDPPORT" ]; then
12         /sbin/sysctl -w fs.nfs.nlm_udpport=$LOCKD_UDPPORT >/dev/null 2>&1
13 fi
This page took 0.054886 seconds and 3 git commands to generate.