diff options
author | root <root@rshg054.dnsready.net> | 2011-08-27 23:14:39 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-27 23:14:39 +0000 |
commit | a4c358009dd89183b4124505c694ea7f5fcdbeec (patch) | |
tree | 2b157b1e89ca7df45bd35f6a72c39b26af558827 /testing/nfs-utils/start-statd.patch | |
parent | d7d02f7c02a5c761e8a64df49598ae976640e450 (diff) |
Sat Aug 27 23:14:39 UTC 2011
Diffstat (limited to 'testing/nfs-utils/start-statd.patch')
-rw-r--r-- | testing/nfs-utils/start-statd.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/nfs-utils/start-statd.patch b/testing/nfs-utils/start-statd.patch new file mode 100644 index 000000000..38c60a784 --- /dev/null +++ b/testing/nfs-utils/start-statd.patch @@ -0,0 +1,22 @@ +--- utils/statd/start-statd 2007-05-11 04:40:57.000000000 +0100 ++++ utils/statd/start-statd.new 2007-09-21 17:11:34.000000000 +0100 +@@ -1,9 +1,16 @@ +-#!/bin/sh -p ++#!/bin/sh ++ ++# Original script provided by the NFS project ++# Modified for Arch Linux by Tom Killian ++ + # 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 ++ ++# source application-specific settings ++[ -f /etc/conf.d/nfs-common.conf ] && . /etc/conf.d/nfs-common.conf ++ ++exec /usr/sbin/rpc.statd $STATD_OPTS + |