Re: Extending the update-rc.d API to change runlevel and disable scripts?
Petter Reinholdtsen <email@example.com> writes:
> I believe we should extend the update-rc.d interface to provide a few
> more operations that are commonly needed and commonly done wrong.
> - One operation to modify the runlevel used by a script/service.
> - One operation to disable a script and make sure it stay disabled.
> The first operation will replace the remove-reinsert operation currently
> being done in postinst script to change the runlevels, and the second
> will make it easier for users to disable a service the correct way.
Yes please. Another desperately needed feature is a query interface that
will tell you exactly the current state of a given init script, for use by
other automated tools. Currently, Puppet hacks around this in some really
ugly ways since there's no good interface for this.
Russ Allbery (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>