]> git.pld-linux.org Git - packages/nfs-utils.git/commitdiff
- pass options to rpc.statd via STATDOPTS in /etc/sysconfig/nfslock
authortwittner <twittner@pld-linux.org>
Tue, 7 Sep 2004 20:11:11 +0000 (20:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  (mainly taken from debian with a little addition from me)

Changed files:
    nfslock.init -> 1.11
    nfslock.sysconfig -> 1.2

nfslock.init
nfslock.sysconfig

index d43d7b0825a832c129424439c8a4431dcd6b3eb0..df555d7f9b491b68c559fdd8f9de3822313a095f 100644 (file)
@@ -43,7 +43,7 @@ case "$1" in
        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
index cf19fd0c7bb503f20e79b1616af5e8e416da894c..120e44855a559738ef624a696bbca9ae6a3e4875 100644 (file)
@@ -1,3 +1,11 @@
 # 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=
This page took 0.17744 seconds and 4 git commands to generate.