On Sat, Jul 06, 2002 at 05:07:23PM +0200, Yannick Roehlly wrote: > Bonjour � tous, > > J'ai d�j� pos� une question sur les rc.d et on m'a dit RTFM update-rc.d > J'ai donc LCEM de update-rc.d mais �a ne m'a pas avanc� � grand'chose. > > Voil� mon probl�me : j'aimerais qu'apache (entre autres) ne se lance > plus dans mon runlevel par d�faut (le 2). > > Dans /etc/rc2.d/ j'ai un S91apache > Je teste donc l'utilisation d'update-rc.d en tapotant : > > debian:/home/yannick# update-rc.d -n apache stop 91 2 . > System startup links for /etc/init.d/apache already exist. > > Je ne comprends pas. Update-rc.d cr�e des liens de /etc/init.d/ vers > /etc/rcN.d/ ou l'inverse ? > > Pour mon probl�me, si je transforme dans /etc/rc2.d/ le S91apache par un > K91apache cela r�sout mon probl�me, non ? Est-ce propre ? > > Merci. > > Yannick Si tu lis bien le man, y a marqu� que si le script est encore dans /etc/init.d, il faut utiliser l'option -f pour enlever les symlinks des /etc/rc?.d
*** Man update-rc.d ***
OPTIONS
-n Don't do anything, just show what we would do.
-f Force removal of symlinks even if /etc/init.d/name
still exists.
*** Fin ***
Ce qui donne: update-rc.d -f apache remove
--
<Cyrion> voodoo c'est un nom de startup ca non ?
pgpxkXJtieKdb.pgp
Description: PGP signature

