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