Re: init script config files
Michael Urman wrote:
>
> On Sat, Jul 08, 2000 at 12:40:01PM -0400, Christopher W. Curtis wrote:
> > if [ "X$RUN_PORTMAP" != "X1" ] ; then
> > exit 0
> > fi
>
> > # 'portmap' is installed as part of netbase. You cannot remove netbase,
> > # as it is a required package, so here's your chance to turn it off.
> > # Set RUN_PORTMAP=0 in /etc/init.d/defaults.d/portmap.user
> > RUN_PORTMAP=1
>
> I'd suggest that the comment read 'Set RUN_PORTMAP=1 to run, or
> otherwise to not run' or make the test something like:
> test -z $RUN_PORTMAP && exit 0 # with appropriate comment.
>
> If we're trying to make things easier/more configurable, which i love
> as an idea, we shouldn't take half steps.
Sure - I'm not saying that anything I've done so far is perfect; but you
have to start somewhere. People always complain about "a whole lot of
talk, no code" so I put together some code. I just hope it can be used
to be a better initscript.
[removing this from -policy]
Christopher
Reply to: