Changed nfs.init to bring down rquotad correctly (bz# 136041)
This commit is contained in:
parent
44d986f2cf
commit
cc01757c6f
@ -1,7 +1,7 @@
|
|||||||
Summary: NFS utlilities and supporting daemons for the kernel NFS server.
|
Summary: NFS utlilities and supporting daemons for the kernel NFS server.
|
||||||
Name: nfs-utils
|
Name: nfs-utils
|
||||||
Version: 1.0.6
|
Version: 1.0.6
|
||||||
Release: 38
|
Release: 39
|
||||||
|
|
||||||
# group all 32bit related archs
|
# group all 32bit related archs
|
||||||
%define all_32bit_archs i386 i686 athlon
|
%define all_32bit_archs i386 i686 athlon
|
||||||
@ -263,6 +263,10 @@ fi
|
|||||||
%config /etc/rc.d/init.d/nfslock
|
%config /etc/rc.d/init.d/nfslock
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Oct 17 2004 Steve Dickson <SteveD@RedHat.com>
|
||||||
|
- Changed nfs.init to bring down rquotad correctly
|
||||||
|
(bz# 136041)
|
||||||
|
|
||||||
* Thu Oct 14 2004 Steve Dickson <SteveD@RedHat.com>
|
* Thu Oct 14 2004 Steve Dickson <SteveD@RedHat.com>
|
||||||
- Added "$RQUOTAD_PORT" variable to nfs.init which
|
- Added "$RQUOTAD_PORT" variable to nfs.init which
|
||||||
allows the rpc.rquotad to use a predefined port
|
allows the rpc.rquotad to use a predefined port
|
||||||
|
4
nfs.init
4
nfs.init
@ -100,7 +100,7 @@ case "$1" in
|
|||||||
echo -n $"Shutting down NFS daemon: "
|
echo -n $"Shutting down NFS daemon: "
|
||||||
killproc nfsd
|
killproc nfsd
|
||||||
echo
|
echo
|
||||||
if [ -n "$RQUOTAD" ]; then
|
if [ -n "$RQUOTAD" -a "$RQUOTAD" != "no" ]; then
|
||||||
echo -n $"Shutting down NFS quotas: "
|
echo -n $"Shutting down NFS quotas: "
|
||||||
killproc rpc.rquotad
|
killproc rpc.rquotad
|
||||||
echo
|
echo
|
||||||
@ -120,7 +120,7 @@ case "$1" in
|
|||||||
status)
|
status)
|
||||||
status rpc.mountd
|
status rpc.mountd
|
||||||
status nfsd
|
status nfsd
|
||||||
if [ -n "$RQUOTAD" ]; then
|
if [ -n "$RQUOTAD" -a "$RQUOTAD" != "no" ]; then
|
||||||
status rpc.rquotad
|
status rpc.rquotad
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user