From 954eacb5901addfd0c0bf3c30630b97903955238 Mon Sep 17 00:00:00 2001 From: Brad Teaford Cowan Date: Thu, 12 Dec 2002 14:55:09 +0000 Subject: Added options to init script, thanks to Cardoe and j2ee, closes bugs #11947 and #9741 --- net-fs/nfs-utils/ChangeLog | 8 +++++++- net-fs/nfs-utils/files/nfs | 8 +++++--- net-fs/nfs-utils/files/nfs.confd | 9 +++++++++ 3 files changed, 21 insertions(+), 4 deletions(-) (limited to 'net-fs/nfs-utils') diff --git a/net-fs/nfs-utils/ChangeLog b/net-fs/nfs-utils/ChangeLog index 4c451cbcdc6c..8c21a98cfbc0 100644 --- a/net-fs/nfs-utils/ChangeLog +++ b/net-fs/nfs-utils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-fs/nfs-utils # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.7 2002/12/09 04:33:11 manson Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.8 2002/12/12 14:55:09 bcowan Exp $ + +*nfs-utils-1.0.1 (12 Dec 2002) + + 12 Dec 2002; Brad Cowan : + + Added options to config file thanks to Cardoe and j2ee. \* Autoupdate keywords (12-6-02) 06 Dec 2002; Rodney Rees changed sparc ~sparc keywords diff --git a/net-fs/nfs-utils/files/nfs b/net-fs/nfs-utils/files/nfs index 4ca44cee8952..d4581a7bf850 100755 --- a/net-fs/nfs-utils/files/nfs +++ b/net-fs/nfs-utils/files/nfs @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs,v 1.4 2002/04/24 22:18:11 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs,v 1.5 2002/12/12 14:55:09 bcowan Exp $ #--------------------------------------------------------------------------- # This script starts/stops the following @@ -28,7 +28,8 @@ start_statd() { # Don't start rpc.statd if already started by init.d/nfsmount killall -0 rpc.statd &>/dev/null && return 0 ebegin "Starting NFS statd" - start-stop-daemon --start --quiet --exec /sbin/rpc.statd 1>&2 + start-stop-daemon --start --quiet --exec /sbin/rpc.statd \ + --$RPCSTATDOPTS 1>&2 eend $? "Error starting NFS statd" } @@ -58,7 +59,8 @@ start() { fi ebegin "Starting NFS rquotad" - start-stop-daemon --start --quiet --exec /sbin/rpc.rquotad 1>&2 + start-stop-daemon --start --quiet --exec /sbin/rpc.rquotad \ + --$RPCRQUOTADOPTS 1>&2 eend $? "Error starting NFS rquotad" ebegin "Starting NFS daemon" diff --git a/net-fs/nfs-utils/files/nfs.confd b/net-fs/nfs-utils/files/nfs.confd index b44145fa27cb..1e43a32cfa8f 100644 --- a/net-fs/nfs-utils/files/nfs.confd +++ b/net-fs/nfs-utils/files/nfs.confd @@ -4,4 +4,13 @@ RPCNFSDCOUNT=8 # Options to pass to rpc.mountd +# ex. RPCMOUNTDOPTS="-p 32767 RPCMOUNTDOPTS="" + +# Options to pass to rpc.statd +# ex. RPCSTATDOPTS="-p 32765 -o 32766" +RPCSTATDOPTS="" + +# OPTIONS to pass to rpc.rquotad +# ex. RPCRQUOTADOPTS="-p 32764" +RPCRQUOTADOPTS="" \ No newline at end of file -- cgit v1.2.3-65-gdbad