Re: autoload of kernel modules: how?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2005-07-17 at 15:48 -0700, Tim Fenn wrote:
> On Sat, Jul 16, 2005 at 10:20:30PM -0400, Mike Pepe wrote:
> > 
> > I'm wondering what I need to do/where I need to look to make Fedora Core 
> > 3 (and 4) automatically load arbitrary modules?
> > 
> 
> Take a look either in /etc/rc.sysinit (around lines 147-151, the
> lines:
> 
> ide=""
> scsi=""
> network=""
> audio=""
> other=""
> 
> allow you to specify extra modules)
> 
> or create a /etc/rc.modules (loaded by rc.sysinit at around line 537
> in my version of the script).

Editing /etc/rc.sysinit is not a good idea because changes will be lost
if/when a new initscripts update is published.

Using /etc/rc.modules will work in both FC3 and FC4 but is "deprecated".

In FC4 you can create a script with a name ending in ".modules"
in /etc/sysconfig/modules and that will get run at around the same time
that rc.modules would be run. This is the "approved" may of doing this
now.

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux