xref: /freebsd/libexec/rc/rc.d/rpcbind (revision f6a3b357e9be4c6423c85eff9a847163a0d307c8)
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