You are not logged in.

#1 2006-09-20 08:27:24

schmmd
Member
From: Seattle
Registered: 2006-03-25
Posts: 55
Website

Autoload Modules with Parameters

I would like to load the module 'ibm-acpi' with the flag experimental=1.  From the command-line I can simply:

modprobe ibm-acpi experimental=1

However, is it possible to have this module installed on boot with the flag set?  Can I do this from the MODULES=() block in /etc/rc.conf?

Thank you!

Offline

#2 2006-09-20 08:36:19

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Autoload Modules with Parameters

You do this kind of stuff in /etc/modprobe.conf. Have a look a the man page - you need an 'options' line.

Offline

#3 2006-09-20 14:28:54

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Autoload Modules with Parameters

i know that "-f nvidia" works so maybe "-f nvidia option=1" would work too. If not, should be easy to modify the initscript to make it work? yeah, i think it wil work out of the box.

this is in MODULES=() in rc.conf


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

Board footer

Powered by FluxBB