Re: loading modules automatically: automating modprobes
- From: marrgol <marspamrgol@xxxxxxxxxxxxx>
- Date: Wed, 09 Dec 2009 01:46:43 +0100
On 2009-12-07 01:24, Rahul wrote:
I know how to load modules using modprobe. But these are lost on a
reboot. How does one make this permanant?
In CentOS add your "modprobe modulename" commands to /etc/rc.modules
file. Create it and make executable if it does not exist. But...
e.g. for IPMI I usually load:
modprobe ipmi_devintf
modprobe ipmi_si
modprobe ipmi_msghandler
How do I make this happen automatically on each reboot? Of course, I can
just put it in some shell init file but that seems like a hack.
for IPMI someone has already hacked it - you should have a service
named ipmi ready to be started manually, and to start a service
automatically on each reboot all you have to do is to enable it for
the runlevels you wish it to run in using system-config-services
in GUI or chkconfig on the command line.
--
mrg
.
- Follow-Ups:
- References:
- Prev by Date: Re: does writing same data back to a file cause an actual disk write?
- Next by Date: Re: loading modules automatically: automating modprobes
- Previous by thread: Re: loading modules automatically: automating modprobes
- Next by thread: Re: loading modules automatically: automating modprobes
- Index(es):
Relevant Pages
|