freebsd-skq/etc/rc.d/rpcbind

20 lines
275 B
Bash
Executable File

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