/etc/rc*.d bulk script calls in knoppix 3.3
Greetings,
I'm trying to 'optimize' my boot process. I'm running Debian GNU/Linux sarge-sid, installed from a Knoppix 3.3 CD, which I think is the guilty for this problem. I read a lot about boot process and all that stuff. I know that scripts that shall be killed or executed in each runlevel shall be in /etc/init.d directory and are called by a symlink in /etc/rn.d where N is the runlevel number. The problem is that I have symlinks to the same script in several runlevels, thing that seems kind of silly to me, because, i.e., kdm can't be started in runlevel 2... For example: In runlevel 1, init must kill: gdm, speedtouch and xsession. When did those things started? God, it's runlevel 1... In runlevel 2 it insists to start gdm, kdm, speedtouch, iptables and samba. How? In runlevel 3 it's still insisting in start gdm, kdm, speedtouch and samba... It seems to me that it's ok that 'speedtouch' and 'iptables' start running in runlevel 4 and in runlevel 5 'kdm' starts. My question is, can I just remove the symlinks from /etc/rc1.d, 2.d, 3.d and 4.d? That way it wouldn't keep trying to start annoying things in annoying runlevels. One last question, my 'speedtouch' script is failing because kernel module speedtch interferes with it's execution. I have to type: rmmod speedtch and then /etc/init.d/speedtouch start in order to connect. How can I avoid kernel from loading module speedtch? Thank you very much in advance |
Re: /etc/rc*.d bulk script calls in knoppix 3.3
Quote:
You have done some reading good. The levels 2 through 5 are all the same in Debian unless you do as you seem to want to and configure it differently. Quote:
Code:
BashfulTux:/home/stephen# ll /mnt/etc/rc1.d/ Quote:
Quote:
Quote:
Quote:
Quote:
Code:
#!/bin/sh |
Problem solved. I won't touch those scripts in 2-5 runlevels... :rolleyes:
I also added 'rmmod speedtch' to the speedtouch script second line. Should be good now. Thank you very much |
All times are GMT -5. The time now is 05:36 PM. |