2008-01-30 10:39:13 +01:00
|
|
|
#!@RCD_SCRIPTS_SHELL@
|
|
|
|
#
|
2012-07-18 22:00:45 +02:00
|
|
|
# $NetBSD: unfsd.sh,v 1.2 2012/07/18 20:00:45 cheusov Exp $
|
2008-01-30 10:39:13 +01:00
|
|
|
#
|
|
|
|
# PROVIDE: unfsd
|
|
|
|
# REQUIRE: DAEMON rpcbind
|
|
|
|
|
|
|
|
if [ -f /etc/rc.subr ]
|
|
|
|
then
|
|
|
|
. /etc/rc.subr
|
|
|
|
fi
|
|
|
|
|
|
|
|
name="unfsd"
|
|
|
|
rcvar="${name}"
|
|
|
|
command="@PREFIX@/sbin/${name}"
|
|
|
|
pidfile="/var/run/${name}.pid"
|
|
|
|
command_args="-i ${pidfile}"
|
2012-07-18 22:00:45 +02:00
|
|
|
extra_commands="reload"
|
2008-01-30 10:39:13 +01:00
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
load_rc_config_var rpcbind rpcbind
|
|
|
|
run_rc_command "$1"
|