Control: tags -1 patch Hi,
Here's a patch to implement RPCNFSDOPTS. Regards, -- Raphaël Halimi
diff --git a/debian/nfs-kernel-server.default b/debian/nfs-kernel-server.default index 7137dae..682c45e 100644 --- a/debian/nfs-kernel-server.default +++ b/debian/nfs-kernel-server.default @@ -1,3 +1,7 @@ +# Options for rpc.nfsd +# To disable NFSv4 on the server, specify '--no-nfs-version 4' here +RPCNFSDOPTS="" + # Number of servers to start up RPCNFSDCOUNT=8 diff --git a/debian/nfs-kernel-server.init b/debian/nfs-kernel-server.init index e0c51d6..dba5c66 100644 --- a/debian/nfs-kernel-server.init +++ b/debian/nfs-kernel-server.init @@ -25,6 +25,7 @@ PREFIX=/usr # Read config DEFAULTFILE=/etc/default/nfs-kernel-server +RPCNFSDOPTS= RPCNFSDCOUNT=8 RPCNFSDPRIORITY=0 RPCMOUNTDOPTS= @@ -100,7 +101,7 @@ case "$1" in start-stop-daemon --start --oknodo --quiet \ --nicelevel $RPCNFSDPRIORITY \ - --exec $PREFIX/sbin/rpc.nfsd -- $RPCNFSDCOUNT + --exec $PREFIX/sbin/rpc.nfsd -- $RPCNFSDOPTS $RPCNFSDCOUNT RET=$? if [ $RET != 0 ]; then log_end_msg $RET
signature.asc
Description: OpenPGP digital signature