You could also place your script somewhere (example /usr/local/bin/) and run
it from /etc/rc.local.

On Tue, Apr 26, 2011 at 9:37 AM, Thierry MUSEUX - www.fwt.fr - 
<[email protected]>wrote:

> Exact,
> Create init script with skeleton and run insserv solve the problem.
> The init sequence from lenny to squeeze has been changed.
>
>
>
> Thierry Museux
> France Wireless Technologies
> www.fwt.fr
> msn: [email protected]
> Tel: + 33 (0) 1 41 08 70 78
> Gsm: + 33 (0) 6 15 22 09 62
>
>
> -----Message d'origine-----
> De : [email protected] [mailto:
> [email protected]] De la part de Darshaka
> Pathirana
> Envoyé : lundi 25 avril 2011 09:41
> À : [email protected]
> Objet : Re: [Voyage-linux] problem with init sequence
>
> Hi!
>
> On 04/24/2011 07:09 AM, Thierry MUSEUX - www.fwt.fr - wrote:
> >
> > i put in /etc/rc2.d/S99ap
> >
> > #!/bin/sh
> >
> > FILE="/var/tmp/s99ap"
> > rm -f $FILE
> > touch $FILE
> >
> > chmod 755 /etc/rc2.d/S99ap
> >
> > the file is not executed with voyage-current.tar.bz2 and
> > voyage-0.7.0.tar.bz2
> > works file with voyage-0.6.5.tar.bz2
>
> I got curious about your problem so I did some research. It seems
> that it has something to do with the new "dependency based boot
> order" in Debian/Squeeze.
>
> Debian moved from "CONCURRENCY=none" to "CONCURRENCY=makefile" as
> the new default (can be changed in '/etc/default/rcS').
>
> It seems you have to add the header from "/etc/init.d/skeleton" and
> run "insserv".
>
> For more information please have a look at "man insserv". Please
> report back if my explaination was incorrect or uncomplete.
>
> HTH && HAND,
>  - Darsha
>
> _______________________________________________
> Voyage-linux mailing list
> [email protected]
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
>
> _______________________________________________
> Voyage-linux mailing list
> [email protected]
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to