Subject: Re: PROPOSAL: /etc/rc, /etc/init.d/*, ...
To: Chris G. Demetriou <cgd@netbsd.org>
From: Charles M. Hannum <root@ihack.net>
List: tech-userlevel
Date: 12/02/1999 11:35:31
cgd@netbsd.org (Chris G. Demetriou) writes:

> Luke Mewburn <lukem@goanna.cs.rmit.edu.au> writes:
> > this is a tricky issue. for the `autogeneration' to work the script
> > has to support argument `dumpstart' and `dumpstop', which output
> > a series of commands which do what `start' and `stop' do
> > (respectively).
> 
> This is losing.

I'm not completely convinced that's true.  If a script doesn't
implement `dumpstart' or `dumpstop', mkrc could simply add the
`/etc/init.d/foo st{art,op}' command instead.  Actually, I wonder why
it doesn't do this anyway; the speed issue just can't be that large.