[Voyage-linux] problem with init sequence

Thierry MUSEUX - www.fwt.fr - (spam-protected)
Tue Apr 26 15:37:31 HKT 2011


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: tm at fwt.fr
Tel: + 33 (0) 1 41 08 70 78
Gsm: + 33 (0) 6 15 22 09 62


-----Message d'origine-----
De : voyage-linux-bounces+tm=fwt.fr at list.voyage.hk [mailto:voyage-linux-bounces+tm=fwt.fr at list.voyage.hk] De la part de Darshaka Pathirana
Envoyé : lundi 25 avril 2011 09:41
À : voyage-linux at voyage.hk
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
Voyage-linux at list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux





More information about the Voyage-linux mailing list