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