diff options
author | Brad Teaford Cowan <bcowan@gentoo.org> | 2002-12-12 14:55:09 +0000 |
---|---|---|
committer | Brad Teaford Cowan <bcowan@gentoo.org> | 2002-12-12 14:55:09 +0000 |
commit | 954eacb5901addfd0c0bf3c30630b97903955238 (patch) | |
tree | aca0b257940a2798d5bf48c38beb7dd596df50dc /net-fs/nfs-utils/files | |
parent | version bump (diff) | |
download | historical-954eacb5901addfd0c0bf3c30630b97903955238.tar.gz historical-954eacb5901addfd0c0bf3c30630b97903955238.tar.bz2 historical-954eacb5901addfd0c0bf3c30630b97903955238.zip |
Added options to init script, thanks to Cardoe and j2ee, closes bugs #11947 and #9741
Diffstat (limited to 'net-fs/nfs-utils/files')
-rwxr-xr-x | net-fs/nfs-utils/files/nfs | 8 | ||||
-rw-r--r-- | net-fs/nfs-utils/files/nfs.confd | 9 |
2 files changed, 14 insertions, 3 deletions
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 |