]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - libexec/rc/rc.d/rpcbind
zfs: merge openzfs/zfs@9198de8f1
[FreeBSD/FreeBSD.git] / libexec / rc / rc.d / rpcbind
1 #!/bin/sh
2 #
3 #
4
5 # PROVIDE: rpcbind
6 # REQUIRE: NETWORKING ntpdate syslogd
7 # KEYWORD: shutdown
8
9 . /etc/rc.subr
10
11 name="rpcbind"
12 desc="Universal addresses to RPC program number mapper"
13 rcvar="rpcbind_enable"
14 command="/usr/sbin/${name}"
15
16 stop_postcmd='/bin/rm -f /var/run/rpcbind.*'
17
18 load_rc_config $name
19 run_rc_command "$1"