diff options
author | James Meyer <james.meyer@operamail.com> | 2008-10-28 21:09:59 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-10-28 21:09:59 (GMT) |
commit | 9f392cc1b6e39b4cde757e18aa8259f2724e41fe (patch) | |
tree | 23e894766d68e5d8805f195f737e0533d89deaa3 /abs/core-testing/nfs-utils/start-statd.patch | |
parent | c848d1b444b9e03f047830c04f5e1e70183035e9 (diff) | |
download | linhes_pkgbuild-9f392cc1b6e39b4cde757e18aa8259f2724e41fe.zip linhes_pkgbuild-9f392cc1b6e39b4cde757e18aa8259f2724e41fe.tar.gz linhes_pkgbuild-9f392cc1b6e39b4cde757e18aa8259f2724e41fe.tar.bz2 |
Add nfs-utils and related programs
Diffstat (limited to 'abs/core-testing/nfs-utils/start-statd.patch')
-rw-r--r-- | abs/core-testing/nfs-utils/start-statd.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/abs/core-testing/nfs-utils/start-statd.patch b/abs/core-testing/nfs-utils/start-statd.patch new file mode 100644 index 0000000..aaed93e --- /dev/null +++ b/abs/core-testing/nfs-utils/start-statd.patch @@ -0,0 +1,21 @@ +--- 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 ++ ++# 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 ] && . /etc/conf.d/nfs ++ ++exec /usr/sbin/rpc.statd $STATD_OPTS + |