summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjl <hjl>2002-04-07 21:19:22 +0000
committerhjl <hjl>2002-04-07 21:19:22 +0000
commitd939da8d0d3c455ee815f39b448281b497597cc0 (patch)
tree5e159855f63f447c7f2e3261a1e724ae5ee31163
parent37b49dbbdef252de4d7d45866fc3354b593431df (diff)
downloadnfs-utils-d939da8d0d3c455ee815f39b448281b497597cc0.tar.gz
nfs-utils-d939da8d0d3c455ee815f39b448281b497597cc0.tar.xz
nfs-utils-d939da8d0d3c455ee815f39b448281b497597cc0.zip
2002-04-07 H.J. Lu <hjl@lucon.org>
* etc/redhat/nfslock.init (restart): Just do stop and start. * etc/redhat/nfs.init: Fix a typo.
-rw-r--r--ChangeLog6
-rwxr-xr-xetc/redhat/nfs.init2
-rwxr-xr-xetc/redhat/nfslock.init11
3 files changed, 9 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index d4aab7a..c014383 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2002-04-07 H.J. Lu <hjl@lucon.org>
+ * etc/redhat/nfslock.init (restart): Just do stop and start.
+
+ * etc/redhat/nfs.init: Fix a typo.
+
+2002-04-07 H.J. Lu <hjl@lucon.org>
+
* configure.in (VERSION): Set to "1.0.1".
* configure: Regenerated.
* nfs-utils.spec: Likewise.
diff --git a/etc/redhat/nfs.init b/etc/redhat/nfs.init
index 2f0d8dc..e844508 100755
--- a/etc/redhat/nfs.init
+++ b/etc/redhat/nfs.init
@@ -36,7 +36,7 @@ if [ -f "$NFSDCFG" ]; then
. "$NFSDCFG"
else
# Set some defaults
- TUNE_QUEUE ="no"
+ TUNE_QUEUE="no"
# Default to NFS version 3.
RPCMOUNTDOPTS=""
fi
diff --git a/etc/redhat/nfslock.init b/etc/redhat/nfslock.init
index 48cea0f..2f99c45 100755
--- a/etc/redhat/nfslock.init
+++ b/etc/redhat/nfslock.init
@@ -69,15 +69,8 @@ case "$1" in
status rpc.statd
;;
restart)
- echo -n "Restarting NFS file locking services: "
- echo -n "rpc.lockd "
- killproc lockd
- daemon rpc.lockd
- echo -n "rpc.statd "
- killproc rpc.statd
- daemon rpc.statd ${STATDARG}
- touch /var/lock/subsys/nfslock
- echo "done."
+ $0 stop
+ $0 start
;;
probe)
if [ ! -f /var/lock/subsys/nfslock ] ; then