summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Teaford Cowan <bcowan@gentoo.org>2002-12-12 14:55:09 +0000
committerBrad Teaford Cowan <bcowan@gentoo.org>2002-12-12 14:55:09 +0000
commit946e6262d8d91bb607b97570967eab714ec3cda0 (patch)
tree1e7f41b0a10156ac6c0801355df03c8ef81bffc4 /net-fs/nfs-utils
parentversion bump (diff)
downloadgentoo-2-946e6262d8d91bb607b97570967eab714ec3cda0.tar.gz
gentoo-2-946e6262d8d91bb607b97570967eab714ec3cda0.tar.bz2
gentoo-2-946e6262d8d91bb607b97570967eab714ec3cda0.zip
Added options to init script, thanks to Cardoe and j2ee, closes bugs #11947 and #9741
Diffstat (limited to 'net-fs/nfs-utils')
-rw-r--r--net-fs/nfs-utils/ChangeLog8
-rwxr-xr-xnet-fs/nfs-utils/files/nfs8
-rw-r--r--net-fs/nfs-utils/files/nfs.confd9
3 files changed, 21 insertions, 4 deletions
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 <bcowan@gentoo.org> :
+
+ Added options to config file thanks to Cardoe and j2ee.
\* Autoupdate keywords (12-6-02)
06 Dec 2002; Rodney Rees <manson@gentoo.org> 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