]> git.pld-linux.org Git - packages/nfs-utils.git/blobdiff - nfslock.init
updated
[packages/nfs-utils.git] / nfslock.init
index f6281e5414136979a78de365d7c5c83356557f47..4d79683ea8975033901b593789b1564c84de8b46 100644 (file)
@@ -7,7 +7,7 @@
 # description: NFS is a popular protocol for file sharing across \
 #              TCP/IP networks. This service provides NFS file \
 #              locking functionality.
-# probe: true
+# probe:       true
 
 # Source function library.
 . /etc/rc.d/init.d/functions
@@ -29,7 +29,7 @@ else
 fi
 
 if [ -x /sbin/pidof ] && [ "$1" != "stop" ]; then
-       [ -z "`/sbin/pidof portmap`" ] && echo "Error: portmap isn't running" && exit 0
+       [ -z "`/sbin/pidof portmap`" ] && nls "Error: portmap isn't running" && exit 0
 fi
 
 # Sanity checks
@@ -63,7 +63,7 @@ case "$1" in
   status)
        status rpc.statd
        ;;
-  restart)
+  restart|reload)
        $0 stop
        $0 start
        ;;
@@ -79,7 +79,7 @@ case "$1" in
        fi
        ;;
   *)
-       msg_usage "$0 {start|stop|restart|probe|status}"
+       msg_usage "$0 {start|stop|restart|reload|probe|status}"
        exit 1
 esac
 
This page took 0.025442 seconds and 4 git commands to generate.