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