Subject: Re: rc.subr don't check rcvar YES except at boot/shutdown
To: Jeremy C. Reed <reed@reedmedia.net>
From: Iain Hibbert <plunky@rya-online.net>
List: tech-userlevel
Date: 02/10/2007 18:18:39
On Sat, 10 Feb 2007, Jeremy C. Reed wrote:

> > +	# If $rconly is set and ${rcvar} is set, and $1 is not "rcvar",
> > +	# then run checkyesno ${rcvar} and return if that failed.
> > +	# (It doesn't make sense to check $1 is not "rcvar".)
> > +	#
> > +	# For example, if "onlystart" or "onlystop" is ran and
> > +	# the ${rcvar} is not enabled (i.e. YES), then the service
> > +	# will not be started or stopped.
>
> Also: should I add an rc.conf option to always use the original behaviour?
> And if so, what should it default too? (And what would you call it?)

Should rcvar YES be checked only at boot? - If I start something manually,
it would be nice if it was shut down properly also..

iain