Pre-load nfsd when args to rpc.nfsd are given (bz 441983)
This commit is contained in:
parent
adb2afee96
commit
bf258f5230
@ -265,9 +265,10 @@ fi
|
||||
%attr(4755,root,root) /sbin/umount.nfs4
|
||||
|
||||
%changelog
|
||||
* Tue Sep 16 2008 Steve Dickson <steved@redhat.com> 1.1.3-5
|
||||
* Thu Sep 18 2008 Steve Dickson <steved@redhat.com> 1.1.3-5
|
||||
- Reworked init scripts so service will be able to
|
||||
stop when some of the checks fail. (bz 462508)
|
||||
- Pre-load nfsd when args to rpc.nfsd are given (bz 441983)
|
||||
|
||||
* Thu Aug 28 2008 Steve Dickson <steved@redhat.com> 1.1.3-4
|
||||
- Added in a number of up upstream patches (101 thru 110).
|
||||
|
6
nfs.init
6
nfs.init
@ -73,6 +73,12 @@ case "$1" in
|
||||
RETVAL=$?
|
||||
echo
|
||||
fi
|
||||
|
||||
# Load preload module so arguments to rpc.nfsd will take effect
|
||||
[ -n "$RPCNFSDARGS" -a "$NFSD_MODULE" != "noload" ] && {
|
||||
[ -x /sbin/modprobe ] && /sbin/modprobe nfsd
|
||||
}
|
||||
|
||||
echo -n $"Starting NFS daemon: "
|
||||
daemon rpc.nfsd $RPCNFSDARGS $RPCNFSDCOUNT
|
||||
RETVAL=$?
|
||||
|
@ -31,6 +31,8 @@
|
||||
# Number of nfs server processes to be started.
|
||||
# The default is 8.
|
||||
#RPCNFSDCOUNT=8
|
||||
# Stop the nfsd module from being pre-loaded
|
||||
#NFSD_MODULE="noload"
|
||||
#
|
||||
#
|
||||
# Optional arguments passed to rpc.mountd. See rpc.mountd(8)
|
||||
|
Loading…
Reference in New Issue
Block a user