nfs-utils/start-statd
OBS User autobuild 300a0cb74b Accepting request 24436 from Base:System
Copy from Base:System/nfs-utils based on submit request 24436 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/24436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nfs-utils?expand=0&rev=51
2009-11-16 13:24:40 +00:00

13 lines
435 B
Bash

#!/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
rpc.statd --no-notify
# in case firewall needs to punch a hole for the
# statd port...
/etc/init.d/SuSEfirewall2_setup try-restart > /dev/null 2>&1