LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-18-2004, 01:43 PM   #1
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
how do I automate a modprobe at startup?


My new RAID controller requires me to run "modprobe 3w-xxxx" How do I make it so I don't have to run the command by hand? i.e., how do I automate it so it's loaded at startup?

I know I could put the command into an rc (rc.local?), but that seems kind of kludgey? I thought if you put the entry into /etc/modules.conf that did it, but apparently not.

Thanks.

Last edited by BrianK; 12-18-2004 at 01:46 PM.
 
Old 12-18-2004, 02:40 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
In SuSE, put it in /etc/init.d/boot.local, like so: /sbin/modprobe 3w-xxxx. Don't know where you'd have to put it in RH.
 
Old 12-20-2004, 01:46 PM   #3
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Original Poster
Rep: Reputation: 51
Yeah, I should have mentioned that. This is on a RH9 machine.

is putting the modprobe command into /etc/init.d/rc.X the proper way to do this?
 
  


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
depmod got cleared out? slinky2004 Linux - General 1 10-11-2005 12:58 AM
lsmod and depmod hyperriven Linux - Software 2 10-17-2004 01:18 AM
how does depmod find dependency saajii Linux - General 2 09-19-2004 10:34 PM
Help! depmod Mike-BB Linux - Software 7 08-11-2004 07:36 AM
Recompile depmod errors on startup leeach Slackware 1 02-01-2004 02:51 PM


All times are GMT -5. The time now is 03:53 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration