Is there a ".d" directory to use to load modules at boot time, opposed to /etc/modules?

Posted by gertvdijk on Ask Ubuntu See other posts from Ask Ubuntu or by gertvdijk
Published on 2012-12-12T16:31:16Z Indexed on 2012/12/12 17:19 UTC
Read the original article Hit count: 370

Filed under:
|
|

I am automating some configurations on my systems using Puppet. For a group of machines I want to load a kernel module at boot time. The most elegant way seems to edit /etc/modules and add one on an individual line. However, I would like to use separate files in a ".d" directory structure for easier maintainability.

For modprobe and specifying the options for modules, there's /etc/modprobe.d/, but what's the most elegant way for actually loading modules at boot time using a single new file? Basically, I'm looking for the non-existing /etc/modules.d/ directory.

Any suggestions?

© Ask Ubuntu or respective owner

Related posts about boot

Related posts about kernel