freebsd-nq/etc/rc.d/rpcbind

20 lines
281 B
Plaintext
Raw Normal View History

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