xref: /freebsd/libexec/rc/rc.d/rpcbind (revision 2008043f386721d58158e37e0d7e50df8095942d)
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
16stop_postcmd='/bin/rm -f /var/run/rpcbind.*'
17
18load_rc_config $name
19run_rc_command "$1"
20