From ff691b40aaa34d5c5cc2ae732a19eed7591f297f Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 29 Mar 2007 13:51:20 +1000 Subject: Add start-statd script. This script is used by mount.nfs to run statd if needed. It can be locally modified to change arguements if required. --- utils/statd/start-statd | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 utils/statd/start-statd (limited to 'utils/statd/start-statd') diff --git a/utils/statd/start-statd b/utils/statd/start-statd new file mode 100644 index 0000000..6e7ea04 --- /dev/null +++ b/utils/statd/start-statd @@ -0,0 +1,9 @@ +#!/bin/sh +# nfsmount calls this script when mounting a filesystem with locking +# enabled, but when statd does not seem to be running (based on +# /var/run/rpc.statd.pid). +# It should run run statd with whatever flags are apropriate for this +# site. +PATH=/sbin:/usr/sbin +exec rpc.statd --no-notify + -- cgit