Subject: Re: rc.d scripts and there variable settings (was: CVS commit: sharesrc/share/man/man5)
To: Jim Bernard <jbernard@mines.edu>
From: Robert Elz <kre@munnari.OZ.AU>
List: tech-pkg
Date: 09/06/2002 22:02:47
Date: Fri, 6 Sep 2002 07:41:20 -0600
From: Jim Bernard <jbernard@mines.edu>
Message-ID: <20020906134120.GB9071@zoo.bernard.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
don't like....
kre