2009-11-25 16:22:12 +01:00
|
|
|
#!/bin/sh -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 run statd with whatever flags are apropriate for this
|
|
|
|
# site.
|
|
|
|
PATH=/sbin:/usr/sbin:/bin:/usr/bin
|
2010-04-19 07:02:51 +02:00
|
|
|
. /etc/sysconfig/nfs
|
|
|
|
rpc.statd --no-notify $STATD_OPTIONS
|
2009-11-25 16:22:12 +01:00
|
|
|
# in case firewall needs to punch a hole for the
|
|
|
|
# statd port...
|
|
|
|
/etc/init.d/SuSEfirewall2_setup try-restart > /dev/null 2>&1
|
|
|
|
|