Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 07-02-2004, 06:43 AM   #1
Registered: May 2004
Location: Colorado
Distribution: Mandrake 10 power-pack
Posts: 74

Rep: Reputation: 15
SysV-Init scripts...change order during bootstrapping?

Mandrake10 official
kernel 2.6.3-14mdk

I hope this is an easy question.

Here is the situation. I need to change the order in which my programs and modules are loaded during bootstrapping. My wireless "driverloader" is installed after eth1 is brought up. This causes eth1 to fail and I have to manually load the driver from a terminal. Usually I use the GUI tool kdeadmin-sysV-init editor for this kind of operation. I have installed that program but it crashes and is thus useless--very strange by the way, because I have two machines with almost the exact same configuration and sysV-init runs on one but not the other. It doesn't really matter.

Here is the question. What script or file do I need to edit/change so the driverloader will move ahead in the batting order? Or is this going to be a huge hassle of reconfiguring the kernel? God, I hope not.
In any case, thanks in advance for any tips and or solutions.

Old 07-02-2004, 07:24 AM   #2
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 32

i don't think this is going to be a major hassle for you.

i use SuSE 9.0 so there may be some detail differences.

Your init scripts should be located in /etc/init.d. Then you should see a number of subdirectories relating to each of the run levels - rc0, rc1, ... etc.

you'll certainly want to have a look at run level 5 - go into rc5.d.

Now, here's where I'm going from memory somewhat (I'm at work, not in front of my linux box..). Anyway, you should see a load of symbolic links, of the form 'S01', 'K01', etc. The S refers to startup, k (i think it's k....) shutdown.

Each of these links will point to one of the init scripts in /etc/init.d, the number representing the order of execution (1 first, 99 last) - so by altering the name of any link refering to your wireless driver, you can change the order in which it is loaded...
Old 07-02-2004, 08:39 AM   #3
Registered: May 2004
Location: Colorado
Distribution: Mandrake 10 power-pack
Posts: 74

Original Poster
Rep: Reputation: 15
Thanks for the response,

Yeah, it seems pretty straight foward. Great explanation. I am assuming that I need to rename the scripts for each of the rc.d files (run levels). I am pretty sure I do. At least that is how that GUI program operated. In fact, this doesn't seem any more difficult and is much less frustrating than trying to track down the cause of a crashing program. Again, thank you. I appreciate your time today.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SysV-init Editor Setup jimbo-62 Slackware 8 08-16-2005 01:15 AM
SysV Init predator.hawk Linux - Distributions 2 10-21-2004 07:41 PM
SysV-Init Editor Questions odin123 Slackware 3 11-16-2003 08:21 AM
Non-SysV INIT Distros Artimus Linux - Distributions 3 04-28-2003 02:18 PM
sysV vs bsd starting scripts sqn Linux From Scratch 3 06-16-2002 01:42 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration