]> git.pld-linux.org Git - packages/nfs-utils.git/blame - nfs-lock.preconfig
- updated to 2.3.4
[packages/nfs-utils.git] / nfs-lock.preconfig
CommitLineData
24570706
JR
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
8if [ -n "$LOCKD_TCPPORT" ]; then
9 /sbin/sysctl -w fs.nfs.nlm_tcpport=$LOCKD_TCPPORT >/dev/null 2>&1
10fi
11if [ -n "$LOCKD_UDPPORT" ]; then
12 /sbin/sysctl -w fs.nfs.nlm_udpport=$LOCKD_UDPPORT >/dev/null 2>&1
13fi
This page took 0.071636 seconds and 4 git commands to generate.