diff options
author | root <root@rshg054.dnsready.net> | 2012-04-27 00:01:30 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-27 00:01:30 +0000 |
commit | 5233daa5825f00ccf0722ef9733ea6b3bbd44bc8 (patch) | |
tree | 9efe4d061ff3f921e97518a8bc84d504bc88e6fc /testing/nfs-utils/start-statd.patch | |
parent | 4a6f4c864badccdbf9756bc45218273796fa6d72 (diff) |
Fri Apr 27 00:01:30 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 + |