LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

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

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


Running:
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.


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

Rep: Reputation: 32
hi,

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, 09:39 AM   #3
tsw
Member
 
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.

tsw
 
  


Reply


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 02:15 AM
SysV Init predator.hawk Linux - Distributions 2 10-21-2004 08:41 PM
SysV-Init Editor Questions odin123 Slackware 3 11-16-2003 09:21 AM
Non-SysV INIT Distros Artimus Linux - Distributions 3 04-28-2003 03:18 PM
sysV vs bsd starting scripts sqn Linux From Scratch 3 06-16-2002 02:42 AM


All times are GMT -5. The time now is 10:04 PM.

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