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