updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / nfs-utils-ipv6 / start-statd.patch
blob38c60a7843f3afafbb3f2164de6aac8f007e489b
1 --- utils/statd/start-statd 2007-05-11 04:40:57.000000000 +0100
2 +++ utils/statd/start-statd.new 2007-09-21 17:11:34.000000000 +0100
3 @@ -1,9 +1,16 @@
4 -#!/bin/sh -p
5 +#!/bin/sh
7 +# Original script provided by the NFS project
8 +# Modified for Arch Linux by Tom Killian
10 # nfsmount calls this script when mounting a filesystem with locking
11 # enabled, but when statd does not seem to be running (based on
12 # /var/run/rpc.statd.pid).
13 # It should run run statd with whatever flags are apropriate for this
14 # site.
15 -PATH=/sbin:/usr/sbin
16 -exec rpc.statd --no-notify
18 +# source application-specific settings
19 +[ -f /etc/conf.d/nfs-common.conf ] && . /etc/conf.d/nfs-common.conf
21 +exec /usr/sbin/rpc.statd $STATD_OPTS