You could also place your script somewhere (example /usr/local/bin/) and run it from /etc/rc.local.<br><br><div class="gmail_quote">On Tue, Apr 26, 2011 at 9:37 AM, Thierry MUSEUX - <a href="http://www.fwt.fr">www.fwt.fr</a> - <span dir="ltr">&lt;<a href="mailto:tm@fwt.fr">tm@fwt.fr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Exact,<br>
Create init script with skeleton and run insserv solve the problem.<br>
The init sequence from lenny to squeeze has been changed.<br>
<div class="im"><br>
<br>
<br>
Thierry Museux<br>
France Wireless Technologies<br>
<a href="http://www.fwt.fr" target="_blank">www.fwt.fr</a><br>
msn: <a href="mailto:tm@fwt.fr">tm@fwt.fr</a><br>
Tel: <a href="tel:%2B%2033%20%280%29%201%2041%2008%2070%2078" value="+33141087078">+ 33 (0) 1 41 08 70 78</a><br>
Gsm: <a href="tel:%2B%2033%20%280%29%206%2015%2022%2009%2062" value="+33615220962">+ 33 (0) 6 15 22 09 62</a><br>
<br>
<br>
</div>-----Message d&#39;origine-----<br>
De : voyage-linux-bounces+tm=<a href="http://fwt.fr" target="_blank">fwt.fr</a>@<a href="http://list.voyage.hk" target="_blank">list.voyage.hk</a> [mailto:<a href="mailto:voyage-linux-bounces%2Btm">voyage-linux-bounces+tm</a>=<a href="http://fwt.fr" target="_blank">fwt.fr</a>@<a href="http://list.voyage.hk" target="_blank">list.voyage.hk</a>] De la part de Darshaka Pathirana<br>

Envoyé : lundi 25 avril 2011 09:41<br>
À : <a href="mailto:voyage-linux@voyage.hk">voyage-linux@voyage.hk</a><br>
Objet : Re: [Voyage-linux] problem with init sequence<br>
<div><div></div><div class="h5"><br>
Hi!<br>
<br>
On 04/24/2011 07:09 AM, Thierry MUSEUX - <a href="http://www.fwt.fr" target="_blank">www.fwt.fr</a> - wrote:<br>
&gt;<br>
&gt; i put in /etc/rc2.d/S99ap<br>
&gt;<br>
&gt; #!/bin/sh<br>
&gt;<br>
&gt; FILE=&quot;/var/tmp/s99ap&quot;<br>
&gt; rm -f $FILE<br>
&gt; touch $FILE<br>
&gt;<br>
&gt; chmod 755 /etc/rc2.d/S99ap<br>
&gt;<br>
&gt; the file is not executed with voyage-current.tar.bz2 and<br>
&gt; voyage-0.7.0.tar.bz2<br>
&gt; works file with voyage-0.6.5.tar.bz2<br>
<br>
I got curious about your problem so I did some research. It seems<br>
that it has something to do with the new &quot;dependency based boot<br>
order&quot; in Debian/Squeeze.<br>
<br>
Debian moved from &quot;CONCURRENCY=none&quot; to &quot;CONCURRENCY=makefile&quot; as<br>
the new default (can be changed in &#39;/etc/default/rcS&#39;).<br>
<br>
It seems you have to add the header from &quot;/etc/init.d/skeleton&quot; and<br>
run &quot;insserv&quot;.<br>
<br>
For more information please have a look at &quot;man insserv&quot;. Please<br>
report back if my explaination was incorrect or uncomplete.<br>
<br>
HTH &amp;&amp; HAND,<br>
  - Darsha<br>
<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
<br>
<br>
_______________________________________________<br>
Voyage-linux mailing list<br>
<a href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a><br>
<a href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a><br>
</div></div></blockquote></div><br>