Having browsed through rc.sysinit these lines looks like a possible
answer...

 

# Load other user-defined modules

for file in /etc/sysconfig/modules/*.modules ; do

  [ -x $file ] && $file

done

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gerrard Geldenhuis
Sent: 03 June 2008 11:28
To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: [rhelv5-list] Loading kernel modules at boot time

 

Hi

I thought it would be simple but the solution is alluding me at present.

 

I want to load the mptctl module at boot time without having to add
modprobe mptctl to rc.local. Is there a better way of using rc.local. 

 

I thought about using install directive in modprobe.conf but could not
get it to work as I want. Also when reading the man page my
understanding was that you use install when you want to customize the
module installation which is not what I want to do. I just want it to
install "normally".

 

Regards

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to