freebsd-skq/etc/rc.d/rpcbind

20 lines
275 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: rpcbind
# REQUIRE: NETWORKING ntpdate syslogd
# 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"