LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   How to load modules on boot in Fedora 18? (http://www.linuxquestions.org/questions/fedora-35/how-to-load-modules-on-boot-in-fedora-18-a-4175446714/)

Philosopher 01-22-2013 04:25 AM

How to load modules on boot in Fedora 18?
 
Hi everybody,

I'd like to load a certain module during boot process and iirc that'd be done by /etc/modprobe.conf. Now, that doesn't exist anymore so I guess it has been replaced by some other mechanism. Anybody can help me out?

Thx in advance!

PTrenholme 01-22-2013 05:35 PM

Fedora has been using systemd for, IIRC, the last two releases. Look at man systemd-modules-load and the directory set-up to which that manual file will point you.

Philosopher 01-23-2013 05:44 AM

Aaah, thank you! Though using Fedora since v16 I wasn't familiar with systemd yet, just because there was no need to deal with it until now :-)

So just in case anybody running into the same problem: If you want to run UT 2004 on Fedora 18 and experience there is no sound, it's because the snd-pcm-oss module is not loaded. So instead of doing
Code:

# modprobe snd-pcm-oss
each time before you want to play, you can create a file named like e.g. "ut2004.conf" in /etc/modules-load.d and put in the modules you want to be loaded at boot time, in this case "snd-pcm-oss" (without the quotes).

Thanks again!


All times are GMT -5. The time now is 10:46 AM.