On Saturday 18 April 2009 04:56:22 Petter Reinholdtsen wrote:
> [Henrique de Moraes Holschuh]
> > The local modifications have to be done on the initscript headers, which are
> > conffiles since the dawn of time.
> 
> This is not quite true.  One can override a scripts headers by adding
> a file in /etc/insserv/overrides/, and that is how I propose to do
> local modifications.
> 
> > There is also an override directory that can be used to change the
> > dependency headers instead of editing the initscript, but we should
> > get rid of any need to ship files in there as part of the release
> > goal (local admin can place stuff there as he wishes).
> 
> There is actually two override directories,
> /usr/share/insserv/overrides/ and /etc/insserv/overrides/.

These behave differently too; lsb headers in /usr/share/insserv/overrides/
only have effect for corresponding scripts in /etc/init.d/ that lack lsb info
alltogether. lsb headers in /etc/insserv/overrides/ trump all.

> 
> Note that changes done to the list of enabled runlevels for a given
> service is preserved by insserv, while the sequence numbers are
> recalculated when the boot sequence is regenerated (typically when
> update-rc.d is executed).
> 
> Happy hacking,

Thanks, Kel.
_______________________________________________
initscripts-ng-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/initscripts-ng-devel

Reply via email to