From 4f69ea4ff2a6ecbe0c27155d9c6a150e4c05ad78 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 09:18:00 +0000 Subject: [PATCH] auto-import nfs-utils-0.3.3-5 from nfs-utils-0.3.3-5.src.rpm --- nfs-utils.spec | 4 ++-- nfs.init | 18 +++++++++--------- nfslock.init | 12 +++++------- 3 files changed, 16 insertions(+), 18 deletions(-) diff --git a/nfs-utils.spec b/nfs-utils.spec index 4b827e1..4d549ca 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -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 -- if UID 65534 is unassigned, add user nfsnobody (#22865) +- if UID 65534 is unassigned, add user nfsnobody (#22685) * Mon Aug 20 2001 Bob Matthews - fix typo in nfs init script which prevented MOUNTD_PORT from working (#52113) diff --git a/nfs.init b/nfs.init index 5342988..e2c3947 100755 --- a/nfs.init +++ b/nfs.init @@ -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 diff --git a/nfslock.init b/nfslock.init index 29bcbf3..907f2ce 100755 --- a/nfslock.init +++ b/nfslock.init @@ -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