blob: dcdaf7763f18444dd20856163e59ab353f10b98e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash -p
# 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:/bin:/usr/bin"
if systemctl start rpc-statd.service
then :
else
exec rpc.statd --no-notify
fi
|