[BACK]Return to virecover CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc / rc.d

File: [cvs.NetBSD.org] / src / etc / rc.d / virecover (download)

Revision 1.7, Sun Jan 11 14:21:44 2004 UTC (15 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.6: +2 -1 lines

Define an rcvar "virecover" so that this can be configurable.  The default
is YES.

#!/bin/sh
#
# $NetBSD: virecover,v 1.7 2004/01/11 14:21:44 uebayasi Exp $
#

# PROVIDE: virecover
# REQUIRE: mountcritremote
# BEFORE:  DAEMON
#
# XXX: should require `mail'!

. /etc/rc.subr

name="virecover"
rcvar=$name
command="/usr/libexec/${name}"
stop_cmd=":"
reload_cmd=":"

load_rc_config $name
run_rc_command "$1"