diff options
author | root <root@rshg054.dnsready.net> | 2012-05-26 00:02:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-26 00:02:35 +0000 |
commit | a5721a07196cf00c26ea1bfb651aab756d202ccb (patch) | |
tree | b60f984dd22f98544c8d2fd9526cc24dea3dcd25 /testing/nfs-utils/start-statd.patch | |
parent | aa30737839de3c2a4a1287442cb9859414fb4b0a (diff) |
Sat May 26 00:02:35 UTC 2012
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..5d73b6e35 --- /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/bash -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 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 + |