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