]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
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 d4aab7a2cb4f5d2bad03992136a4b4f2ebab3653..c0143839e586f58fdfa2c257072bacc5a5d725ac 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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".
index 2f0d8dcf2c6e75618595105cdb73c9f270b0f2e9..e844508d2077c43727c8b285cd636cf508b9dbcc 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 48cea0f3fc5633ea6f083d2129984c4eb868579b..2f99c45a0f2498afbdea0388601d1bbaa47554c9 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