Subject: Re: rc.subr don't check rcvar YES except at boot/shutdown
To: None <tech-userlevel@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-userlevel
Date: 02/10/2007 11:30:11
> + # 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?)
Jeremy C. Reed