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