]> git.pld-linux.org Git - packages/nfs-utils.git/commitdiff
- fix restart targer (now restarting server do not cause hanging clients).
authorkloczek <kloczek@pld-linux.org>
Sat, 4 May 2002 20:04:51 +0000 (20:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nfs.init -> 1.13

nfs.init

index 781b7aa512851c27d2cac1d65c394a2ee6323e2d..ffbb328f6733eb1d6bd8a680dec1ade0acc5650b 100644 (file)
--- a/nfs.init
+++ b/nfs.init
@@ -89,17 +89,8 @@ case "$1" in
        fi
        ;;
   restart)
-       if [ "$NFSDTYPE" = "U" ] ; then
-               $0 stop
-               $0 start
-       else
-               show "Restarting NFS services (killing)"
-               killproc rpc.mountd
-               show "Restarting NFS services (starting)"
-               daemon rpc.mountd $RPCMOUNTDOPTS
-               /usr/sbin/exportfs -r
-               touch /var/lock/subsys/nfs
-       fi
+       $0 stop
+       $0 start
        ;;
   reload)
        [ "$NFSDTYPE" = "U" ] && exit 0
This page took 0.091257 seconds and 4 git commands to generate.