<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Sans Mono'; font-size:9pt; font-weight:400; font-style:normal;">On Saturday 18 April 2009 04:56:22 Petter Reinholdtsen wrote:<br />&gt; [Henrique de Moraes Holschuh]<br />&gt; &gt; The local modifications have to be done on the initscript headers, which are<br />&gt; &gt; conffiles since the dawn of time.<br />&gt; <br />&gt; This is not quite true.  One can override a scripts headers by adding<br />&gt; a file in /etc/insserv/overrides/, and that is how I propose to do<br />&gt; local modifications.<br />&gt; <br />&gt; &gt; There is also an override directory that can be used to change the<br />&gt; &gt; dependency headers instead of editing the initscript, but we should<br />&gt; &gt; get rid of any need to ship files in there as part of the release<br />&gt; &gt; goal (local admin can place stuff there as he wishes).<br />&gt; <br />&gt; There is actually two override directories,<br />&gt; /usr/share/insserv/overrides/ and /etc/insserv/overrides/.<br /><br />These behave differently too; lsb headers in /usr/share/insserv/overrides/<br />only have effect for corresponding scripts in /etc/init.d/ that lack lsb info<br />alltogether. lsb headers in /etc/insserv/overrides/ trump all.<br /><br>
&gt; <br />&gt; Note that changes done to the list of enabled runlevels for a given<br />&gt; service is preserved by insserv, while the sequence numbers are<br />&gt; recalculated when the boot sequence is regenerated (typically when<br />&gt; update-rc.d is executed).<br />&gt; <br />&gt; Happy hacking,<br /><br>
Thanks, Kel.</p></body></html>