Subject: Re: /etc/rc.d/virecover
To: Andrew Brown <atatat@atatdot.net>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: tech-userlevel
Date: 01/09/2004 23:03:25
On Friday 09 January 2004 22:52, Andrew Brown wrote:
> >Currently /etc/rc.d/virecover can't be controlled by /etc/rc.conf.  I
> >wonder if there's any reason for this.
> >
> >By adding "rcvar=$name" into /etc/rc.d/virecover, virecover=NO in
> >/etc/rc.conf works as other rc.d scripts.
>
> this
>
> 	echo 'start_cmd=":"' > /etc/rc.conf.d/virecover
>
> will work as well, and has the added advantage of not modifying the
> rc.d scripts...
>
> it's not that you can't modify them, but if you can avoid it, it's
> better.

Though, the question may be... why that rc.d script does not define rcvar,
while others do?

-- 
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/