auto-import nfs-utils-0.3.3-5 from nfs-utils-0.3.3-5.src.rpm

This commit is contained in:
cvsdist 2004-09-09 09:18:00 +00:00
parent af1fa63571
commit 4f69ea4ff2
3 changed files with 16 additions and 18 deletions

View File

@ -1,7 +1,7 @@
Summary: NFS utlilities and supporting daemons for the kernel NFS server.
Name: nfs-utils
Version: 0.3.3
Release: 4
Release: 5
Source0: ftp://nfs.sourceforge.net/pub/nfs/nfs-utils-%{version}.tar.gz
Source1: ftp://nfs.sourceforge.net/pub/nfs/nfs.doc.tar.gz
Source10: nfs.init
@ -142,7 +142,7 @@ fi
- Make nfsnobody a system account (#54221)
* Tue Aug 21 2001 Bob Matthews <bmatthews@redhat.com>
- if UID 65534 is unassigned, add user nfsnobody (#22865)
- if UID 65534 is unassigned, add user nfsnobody (#22685)
* Mon Aug 20 2001 Bob Matthews <bmatthews@redhat.com>
- fix typo in nfs init script which prevented MOUNTD_PORT from working (#52113)

View File

@ -54,31 +54,31 @@ fi
case "$1" in
start)
# Start daemons.
action "Starting NFS services: " /usr/sbin/exportfs -r
action $"Starting NFS services: " /usr/sbin/exportfs -r
if [ -x /usr/sbin/rpc.rquotad ] ; then
echo -n "Starting NFS quotas: "
echo -n $"Starting NFS quotas: "
daemon rpc.rquotad
echo
fi
echo -n "Starting NFS mountd: "
echo -n $"Starting NFS mountd: "
daemon rpc.mountd $RPCMOUNTDOPTS
echo
echo -n "Starting NFS daemon: "
echo -n $"Starting NFS daemon: "
daemon rpc.nfsd $RPCNFSDCOUNT
echo
touch /var/lock/subsys/nfs
;;
stop)
# Stop daemons.
echo -n "Shutting down NFS mountd: "
echo -n $"Stopping NFS mountd: "
killproc rpc.mountd
echo
echo -n "Shutting down NFS daemon: "
echo -n $"Stopping NFS daemon: "
killproc nfsd
echo
action "Shutting down NFS services: " /usr/sbin/exportfs -au
action $"Stopping NFS services: " /usr/sbin/exportfs -au
if [ -x /usr/sbin/rpc.rquotad ] ; then
echo -n "Shutting down NFS quotas: "
echo -n $"Stopping NFS quotas: "
killproc rpc.rquotad
echo
fi
@ -113,7 +113,7 @@ case "$1" in
fi
;;
*)
echo "Usage: $0 {start|stop|status|restart|reload}"
echo $"Usage: $0 {start|stop|status|restart|reload}"
exit 1
esac

View File

@ -44,13 +44,12 @@ RETVAL=0
start() {
# Start daemons.
echo "Starting NFS file locking services: "
if [ "$USERLAND_LOCKD" ]; then
echo -n "Starting NFS lockd: "
echo -n $"Starting NFS locking: "
daemon rpc.lockd
echo
fi
echo -n "Starting NFS statd: "
echo -n $"Starting NFS statd: "
daemon rpc.statd
RETVAL=$?
echo
@ -60,13 +59,12 @@ start() {
stop() {
# Stop daemons.
echo "Shutting down NFS file locking services: "
if [ "$USERLAND_LOCKD" ]; then
echo -n "Shutting down NFS lockd: "
echo -n $"Stopping NFS locking: "
killproc lockd
echo
fi
echo -n "Shutting down NFS statd: "
echo -n $"Stopping NFS statd: "
killproc rpc.statd
RETVAL=0
echo
@ -107,7 +105,7 @@ case "$1" in
fi
;;
*)
echo "Usage: $0 {start|stop|status|restart}"
echo $"Usage: $0 {start|stop|status|restart}"
exit 1
esac