summaryrefslogtreecommitdiff
path: root/testing/nfs-utils/start-statd.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-27 23:14:39 +0000
committerroot <root@rshg054.dnsready.net>2011-08-27 23:14:39 +0000
commita4c358009dd89183b4124505c694ea7f5fcdbeec (patch)
tree2b157b1e89ca7df45bd35f6a72c39b26af558827 /testing/nfs-utils/start-statd.patch
parentd7d02f7c02a5c761e8a64df49598ae976640e450 (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.patch22
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
+