2001-06-16 07:16:14 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2002-06-13 22:14:37 +00:00
|
|
|
# $FreeBSD$
|
2001-06-16 07:16:14 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: rpcbind
|
2013-11-05 09:30:06 +00:00
|
|
|
# REQUIRE: NETWORKING ntpdate syslogd
|
2008-07-16 19:50:29 +00:00
|
|
|
# KEYWORD: shutdown
|
2001-06-16 07:16:14 +00:00
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
|
|
|
name="rpcbind"
|
2012-01-14 02:18:41 +00:00
|
|
|
rcvar="rpcbind_enable"
|
2002-08-14 05:44:32 +00:00
|
|
|
command="/usr/sbin/${name}"
|
2002-06-13 22:14:37 +00:00
|
|
|
|
2011-01-31 21:03:08 +00:00
|
|
|
stop_postcmd='/bin/rm -f /var/run/rpcbind.*'
|
|
|
|
|
2002-08-14 05:44:32 +00:00
|
|
|
load_rc_config $name
|
2001-06-16 07:16:14 +00:00
|
|
|
run_rc_command "$1"
|