xref: /freebsd/libexec/rc/rc.d/rpcbind (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: rpcbind
7# REQUIRE: NETWORKING ntpdate syslogd
8# KEYWORD: shutdown
9
10. /etc/rc.subr
11
12name="rpcbind"
13desc="Universal addresses to RPC program number mapper"
14rcvar="rpcbind_enable"
15command="/usr/sbin/${name}"
16
17stop_postcmd='/bin/rm -f /var/run/rpcbind.*'
18
19load_rc_config $name
20run_rc_command "$1"
21