Fix an invalidation case that tends to occur under load on NFS servers or
[dragonfly.git] / etc / rc.d / rpcbind
blob3a2f14bfe075003f12908868fdd58d3d157fd501
1 #!/bin/sh
3 # $NetBSD: rpcbind,v 1.6 2002/01/31 01:26:06 lukem Exp $
4 # $FreeBSD: src/etc/rc.d/rpcbind,v 1.6 2002/09/06 16:18:05 gordon Exp $
5 # $DragonFly: src/etc/rc.d/rpcbind,v 1.4 2008/02/17 19:51:53 swildner Exp $
8 # PROVIDE: rpcbind
9 # REQUIRE: NETWORKING syslogd named ppp
11 . /etc/rc.subr
13 name="rpcbind"
14 rcvar=`set_rcvar`
15 command="/usr/sbin/${name}"
17 case ${OSTYPE} in
18 NetBSD)
19 pidfile="/var/run/${name}.pid"
21 esac
23 load_rc_config $name
24 run_rc_command "$1"