Re: [suse-sles-e] Runlevel Settings

From: Paolo Basenghi (paolo.basenghi_at_fcr.re.it)
Date: Thu Nov 30 2006 - 10:05:37 CET


Message-ID: <456E9EE1.7000604@fcr.re.it>
Date: Thu, 30 Nov 2006 10:05:37 +0100
From: Paolo Basenghi <paolo.basenghi@fcr.re.it>
Subject: Re: [suse-sles-e] Runlevel Settings

Ron Joffe ha scritto:
> In the x init.d script I have :
> # Required-Start: $x
>
Three mistakes, I think:
1) If "x" should start _after_ "y", then in the "x" script you should
add "# Required-Start: y" (not x, like in your mail)

2) The "$" character is wrong in your case because it does an expansion
to a group of services based on group definitions contained in
/etc/insserv.conf (e.g.: $network or $local_fs), so if you want to refer
a single service, you must specify the service name without the "$" prefix

3) At the end you must activate your changes with:

    chkconfig -s x off
    chkconfig -s x on

(you changed only x requirements, so y doesn't need reconfiguration)

SuSEconfig doesn't do this work for you!

All these infos and mutch more are available with "man chkconfig" and
"man insserv".
Bye

Paolo Basenghi - Centro elaborazione dati
Az.Spec.Farmacie Comunali Riunite
Via Doberdo' 9 - 42100 Reggio Emilia
Tel +39(0522)543312
email: paolo.basenghi@fcr.re.it
www.fcr.re.it - www.informazionisuifarmaci.it
www.saninforma.it - www.futurfarma.it

Le informazioni contenute in questa comunicazione sono riservate e
destinate esclusivamente alla/e persona/e o all'ente sopra indicati.
E' vietato ai soggetti diversi dai destinatari qualsiasi uso, copia,
diffusione di quanto in esso contenuto sia ai sensi dell'art. 616 c.p.,
sia ai sensi della legge 196/2003.
Se questa comunicazione vi e' pervenuta per errore, vi preghiamo di
rispondere a questa mail e successivamente cancellarla dal vostro sistema.

>



This archive was generated by hypermail 2.1.7 : Thu Nov 30 2006 - 12:09:38 CET