auto-import nfs-utils-0.3.3-5 from nfs-utils-0.3.3-5.src.rpm
This commit is contained in:
parent
af1fa63571
commit
4f69ea4ff2
@ -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: 0.3.3
|
Version: 0.3.3
|
||||||
Release: 4
|
Release: 5
|
||||||
Source0: ftp://nfs.sourceforge.net/pub/nfs/nfs-utils-%{version}.tar.gz
|
Source0: ftp://nfs.sourceforge.net/pub/nfs/nfs-utils-%{version}.tar.gz
|
||||||
Source1: ftp://nfs.sourceforge.net/pub/nfs/nfs.doc.tar.gz
|
Source1: ftp://nfs.sourceforge.net/pub/nfs/nfs.doc.tar.gz
|
||||||
Source10: nfs.init
|
Source10: nfs.init
|
||||||
@ -142,7 +142,7 @@ fi
|
|||||||
- Make nfsnobody a system account (#54221)
|
- Make nfsnobody a system account (#54221)
|
||||||
|
|
||||||
* Tue Aug 21 2001 Bob Matthews <bmatthews@redhat.com>
|
* 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>
|
* Mon Aug 20 2001 Bob Matthews <bmatthews@redhat.com>
|
||||||
- fix typo in nfs init script which prevented MOUNTD_PORT from working (#52113)
|
- fix typo in nfs init script which prevented MOUNTD_PORT from working (#52113)
|
||||||
|
18
nfs.init
18
nfs.init
@ -54,31 +54,31 @@ fi
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
# Start daemons.
|
# 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
|
if [ -x /usr/sbin/rpc.rquotad ] ; then
|
||||||
echo -n "Starting NFS quotas: "
|
echo -n $"Starting NFS quotas: "
|
||||||
daemon rpc.rquotad
|
daemon rpc.rquotad
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
echo -n "Starting NFS mountd: "
|
echo -n $"Starting NFS mountd: "
|
||||||
daemon rpc.mountd $RPCMOUNTDOPTS
|
daemon rpc.mountd $RPCMOUNTDOPTS
|
||||||
echo
|
echo
|
||||||
echo -n "Starting NFS daemon: "
|
echo -n $"Starting NFS daemon: "
|
||||||
daemon rpc.nfsd $RPCNFSDCOUNT
|
daemon rpc.nfsd $RPCNFSDCOUNT
|
||||||
echo
|
echo
|
||||||
touch /var/lock/subsys/nfs
|
touch /var/lock/subsys/nfs
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
# Stop daemons.
|
# Stop daemons.
|
||||||
echo -n "Shutting down NFS mountd: "
|
echo -n $"Stopping NFS mountd: "
|
||||||
killproc rpc.mountd
|
killproc rpc.mountd
|
||||||
echo
|
echo
|
||||||
echo -n "Shutting down NFS daemon: "
|
echo -n $"Stopping NFS daemon: "
|
||||||
killproc nfsd
|
killproc nfsd
|
||||||
echo
|
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
|
if [ -x /usr/sbin/rpc.rquotad ] ; then
|
||||||
echo -n "Shutting down NFS quotas: "
|
echo -n $"Stopping NFS quotas: "
|
||||||
killproc rpc.rquotad
|
killproc rpc.rquotad
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
@ -113,7 +113,7 @@ case "$1" in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: $0 {start|stop|status|restart|reload}"
|
echo $"Usage: $0 {start|stop|status|restart|reload}"
|
||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
12
nfslock.init
12
nfslock.init
@ -44,13 +44,12 @@ RETVAL=0
|
|||||||
|
|
||||||
start() {
|
start() {
|
||||||
# Start daemons.
|
# Start daemons.
|
||||||
echo "Starting NFS file locking services: "
|
|
||||||
if [ "$USERLAND_LOCKD" ]; then
|
if [ "$USERLAND_LOCKD" ]; then
|
||||||
echo -n "Starting NFS lockd: "
|
echo -n $"Starting NFS locking: "
|
||||||
daemon rpc.lockd
|
daemon rpc.lockd
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
echo -n "Starting NFS statd: "
|
echo -n $"Starting NFS statd: "
|
||||||
daemon rpc.statd
|
daemon rpc.statd
|
||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
echo
|
echo
|
||||||
@ -60,13 +59,12 @@ start() {
|
|||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
# Stop daemons.
|
# Stop daemons.
|
||||||
echo "Shutting down NFS file locking services: "
|
|
||||||
if [ "$USERLAND_LOCKD" ]; then
|
if [ "$USERLAND_LOCKD" ]; then
|
||||||
echo -n "Shutting down NFS lockd: "
|
echo -n $"Stopping NFS locking: "
|
||||||
killproc lockd
|
killproc lockd
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
echo -n "Shutting down NFS statd: "
|
echo -n $"Stopping NFS statd: "
|
||||||
killproc rpc.statd
|
killproc rpc.statd
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
echo
|
echo
|
||||||
@ -107,7 +105,7 @@ case "$1" in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: $0 {start|stop|status|restart}"
|
echo $"Usage: $0 {start|stop|status|restart}"
|
||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user