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"><<a href="mailto:tm@fwt.fr">tm@fwt.fr</a>></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'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>
><br>
> i put in /etc/rc2.d/S99ap<br>
><br>
> #!/bin/sh<br>
><br>
> FILE="/var/tmp/s99ap"<br>
> rm -f $FILE<br>
> touch $FILE<br>
><br>
> chmod 755 /etc/rc2.d/S99ap<br>
><br>
> the file is not executed with voyage-current.tar.bz2 and<br>
> voyage-0.7.0.tar.bz2<br>
> 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 "dependency based boot<br>
order" in Debian/Squeeze.<br>
<br>
Debian moved from "CONCURRENCY=none" to "CONCURRENCY=makefile" as<br>
the new default (can be changed in '/etc/default/rcS').<br>
<br>
It seems you have to add the header from "/etc/init.d/skeleton" and<br>
run "insserv".<br>
<br>
For more information please have a look at "man insserv". Please<br>
report back if my explaination was incorrect or uncomplete.<br>
<br>
HTH && 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>