On Tue, Feb 19, 2002 at 10:45:59PM +0100, Raffaele Sandrini wrote:
> Hi
> 
> I have just a comment now.
> I love Debian, i really do but i has one major lack.
> I'm talking about a main rc file like the rc.config on SuSE. In this file 
> should be informations wherer deamons/services should be started or not. That 
> is necessary because, as strang it sounds, there is no reason that i use a 
> package when i install it.
> I don't understand why this isn't implemented in Debian bcause it would be so 
> easy.
> I started now to add such options bymyself such as for mysql. There i have a 
> "START_MYSQL=NO" in a /etc/rc.conf file and the init script checks if that is 
> set.
> 
> I think there is a good reason why this isn't done so. Can anyone tell me 
> them 
> :-)?

as for the major bigtime kahuna startup config file, it's
        /etc/inittab
("man inittab" for info.)

and depending on the default runlevel you choose
for startup (see inittab) the script
        /etc/init.d/rc

is run with the actual runlevel (2, probably) as the sole
argument, as in
        /etc/init.d/rc 2

the rc script (in /etc/init.d/) looks in the directory
/etc/rc.<runlevel>/ and executes all the kill scripts
(anything starting with K*) with an argument "stop", then
it runs all the start scripts (anything starting with S*)
passing them an argument of "start".

will that do?

-- 
DEBIAN NEWBIE TIP #102 from Karsten M. Self <kmself@ix.netcom.com>
:
Trying to LEARN ABOUT DEBIAN? Check out the links here:
http://pub13.ezboard.com/fiwetheylinux.showMessage?topicID=649.topic&index=39

Also see http://newbieDoc.sourceForge.net/ ...

Reply via email to