2002-04-07 H.J. Lu <hjl@lucon.org>
authorhjl <hjl>
Sun, 7 Apr 2002 21:19:22 +0000 (21:19 +0000)
committerhjl <hjl>
Sun, 7 Apr 2002 21:19:22 +0000 (21:19 +0000)
* etc/redhat/nfslock.init (restart): Just do stop and start.

* etc/redhat/nfs.init: Fix a typo.

ChangeLog
etc/redhat/nfs.init
etc/redhat/nfslock.init

index d4aab7a..c014383 100644 (file)
--- 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.
index 2f0d8dc..e844508 100755 (executable)
@@ -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
index 48cea0f..2f99c45 100755 (executable)
@@ -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