(mainly taken from debian with a little addition from me)
Changed files:
nfslock.init -> 1.11
nfslock.sysconfig -> 1.2
if [ ! -f /var/lock/subsys/nfslock ]; then
# Start daemons.
msg_starting "NFS statd"
- daemon rpc.statd
+ daemon rpc.statd $STATDOPTS
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/nfslock
else
# Define nice level for knfslock daemons
SERVICE_RUN_NICE_LEVEL="+0"
+# Options for rpc.statd.
+# Should rpc.statd listen on a specific port?
+# If so, set this variable to a statd argument like: "--port 1000".
+# See rpc.statd(8) for valid options.
+# Ports 1001-1009 are unassigned therefore 1001 and 1002 are suitable
+# for this purpose.
+# STATDOPTS="--port 1001 --outgoing-port 1002"
+STATDOPTS=