freebsd-dev/etc/rc.d/rpcbind

20 lines
267 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: rpcbind
# REQUIRE: NETWORKING syslogd
# KEYWORD: shutdown
. /etc/rc.subr
name="rpcbind"
rcvar="rpcbind_enable"
command="/usr/sbin/${name}"
stop_postcmd='/bin/rm -f /var/run/rpcbind.*'
load_rc_config $name
run_rc_command "$1"