X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=etc%2Fredhat%2Fnfs.init;h=d3eeab5ebed7b5f004342adb509e1d7917198032;hp=6da8e0c0f7d42d7313b130d7cd1468ddf8301856;hb=2fa836dd82ed15151a46dbf7911879c5660d12ba;hpb=8b7ad01b14df1e7529b9ba8a1ea17df0d6004ef9 diff --git a/etc/redhat/nfs.init b/etc/redhat/nfs.init index 6da8e0c..d3eeab5 100755 --- a/etc/redhat/nfs.init +++ b/etc/redhat/nfs.init @@ -68,13 +68,8 @@ case "$1" in status rpc.rquotad ;; restart) - echo -n "Restarting NFS services: " - echo -n "rpc.mountd " - killproc rpc.mountd - daemon rpc.mountd $RPCMOUNTDOPTS - /usr/sbin/exportfs -r - touch /var/lock/subsys/nfs - echo "done." + $0 stop + $0 start ;; reload) /usr/sbin/exportfs -r @@ -99,4 +94,3 @@ case "$1" in esac exit 0 -