Subject: Re: rc.d scripts and there variable settings (was: CVS commit: sharesrc/share/man/man5)
To: Jim Bernard <email@example.com>
From: Robert Elz <kre@munnari.OZ.AU>
Date: 09/06/2002 22:02:47
Date: Fri, 6 Sep 2002 07:41:20 -0600
From: Jim Bernard <firstname.lastname@example.org>
| Except that, as written, it doesn't accomplish the desired goal. It
| should say:
| eval "$rcvar=NO"
Oh, yes, of course ... shows what happens when you release the keyboard
before putting the brain into gear. Thanks.
| I wonder if it might not be better just to modify rc.subr to deal with
| an undfined rcvar (treating that as equivalent to NO).
Perhaps, that's certainly another option, except ...
| Perhaps an associated
| warning message would then be useful as a reminder that the package hasn't
| been configured explicitly to run or not to run.
That is essentially what is happening now, and it is exactly what (some) people