- Fixed typo in nfs init script that caused rpc.rquotad daemons to be
started but not stoppped (bz 473929)
This commit is contained in:
parent
60a792996d
commit
0fcb349f5a
@ -256,6 +256,8 @@ fi
|
|||||||
* Mon Dec 1 2008 Steve Dickson <steved@redhat.com> 1.1.4-5
|
* Mon Dec 1 2008 Steve Dickson <steved@redhat.com> 1.1.4-5
|
||||||
- Make sure /proc/fs/nfsd exists when the nfs init script
|
- Make sure /proc/fs/nfsd exists when the nfs init script
|
||||||
does the exports (bz 473396)
|
does the exports (bz 473396)
|
||||||
|
- Fixed typo in nfs init script that caused rpc.rquotad daemons
|
||||||
|
to be started but not stoppped (bz 473929)
|
||||||
|
|
||||||
* Wed Nov 26 2008 Steve Dickson <steved@redhat.com> 1.1.4-4
|
* Wed Nov 26 2008 Steve Dickson <steved@redhat.com> 1.1.4-4
|
||||||
- gssd: unblock DNOTIFY_SIGNAL in case it was blocked
|
- gssd: unblock DNOTIFY_SIGNAL in case it was blocked
|
||||||
|
12
nfs.init
12
nfs.init
@ -16,6 +16,12 @@
|
|||||||
# Source networking configuration.
|
# Source networking configuration.
|
||||||
[ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
|
[ -f /etc/sysconfig/network ] && . /etc/sysconfig/network
|
||||||
|
|
||||||
|
# Check for and source configuration file otherwise set defaults
|
||||||
|
[ -f /etc/sysconfig/nfs ] && . /etc/sysconfig/nfs
|
||||||
|
|
||||||
|
# Remote quota server
|
||||||
|
[ -z "$RQUOTAD" ] && RQUOTAD=`type -path rpc.rquotad`
|
||||||
|
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
|
|
||||||
# See how we were called.
|
# See how we were called.
|
||||||
@ -40,18 +46,12 @@ case "$1" in
|
|||||||
{ touch /etc/exports && chmod u+rw,g+r,o+r /etc/exports ; } || \
|
{ touch /etc/exports && chmod u+rw,g+r,o+r /etc/exports ; } || \
|
||||||
{ echo "/etc/exports does not exist" ; exit 0 ; }
|
{ echo "/etc/exports does not exist" ; exit 0 ; }
|
||||||
|
|
||||||
# Check for and source configuration file otherwise set defaults
|
|
||||||
[ -f /etc/sysconfig/nfs ] && . /etc/sysconfig/nfs
|
|
||||||
|
|
||||||
[ -z "$MOUNTD_NFS_V2" ] && MOUNTD_NFS_V2=default
|
[ -z "$MOUNTD_NFS_V2" ] && MOUNTD_NFS_V2=default
|
||||||
[ -z "$MOUNTD_NFS_V3" ] && MOUNTD_NFS_V3=default
|
[ -z "$MOUNTD_NFS_V3" ] && MOUNTD_NFS_V3=default
|
||||||
|
|
||||||
# Number of servers to be started by default
|
# Number of servers to be started by default
|
||||||
[ -z "$RPCNFSDCOUNT" ] && RPCNFSDCOUNT=8
|
[ -z "$RPCNFSDCOUNT" ] && RPCNFSDCOUNT=8
|
||||||
|
|
||||||
# Remote quota server
|
|
||||||
[ -z "$RQUOTAD" ] && RQUOTAD=`type -path rpc.rquotad`
|
|
||||||
|
|
||||||
# Start daemons.
|
# Start daemons.
|
||||||
[ -x /usr/sbin/rpc.svcgssd ] && /sbin/service rpcsvcgssd start
|
[ -x /usr/sbin/rpc.svcgssd ] && /sbin/service rpcsvcgssd start
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user