From d939da8d0d3c455ee815f39b448281b497597cc0 Mon Sep 17 00:00:00 2001 From: hjl Date: Sun, 7 Apr 2002 21:19:22 +0000 Subject: [PATCH] 2002-04-07 H.J. Lu * etc/redhat/nfslock.init (restart): Just do stop and start. * etc/redhat/nfs.init: Fix a typo. --- ChangeLog | 6 ++++++ etc/redhat/nfs.init | 2 +- etc/redhat/nfslock.init | 11 ++--------- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index d4aab7a..c014383 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-04-07 H.J. Lu + + * etc/redhat/nfslock.init (restart): Just do stop and start. + + * etc/redhat/nfs.init: Fix a typo. + 2002-04-07 H.J. Lu * configure.in (VERSION): Set to "1.0.1". 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 -- 2.39.5