]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - debian/nfs-common.init
2002-08-26 Chip Salzenberg <chip@pobox.com>
[nfs-utils.git] / debian / nfs-common.init
index 31357bd3543ff1df58d49b66a311776a1a55b81f..2ae17b3e1b165b263a1ee9948275291ac021250e 100755 (executable)
 
 PREFIX=
 
+# Should rpc.statd listen on a specific port?
+# If so, set this variable to a statd argument like: "--port 1000".
+STATDPORT=""
+
 NEED_LOCKD=yes
 if test -f /proc/ksyms
 then
@@ -32,7 +36,7 @@ case "$1" in
        printf "Starting $DESC:"
        printf " statd"
        start-stop-daemon --start --quiet \
-           --exec $PREFIX/sbin/rpc.statd
+           --exec $PREFIX/sbin/rpc.statd -- $STATDPORT
        if [ "$NEED_LOCKD" = yes ]
        then
            printf " lockd"