#!/bin/sh -p

# 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.

# source application-specific settings
[ -f /etc/conf.d/nfs-common.conf ] && . /etc/conf.d/nfs-common.conf

exec /usr/sbin/rpc.statd $STATD_OPTS

