Automatic Module Loading with 'systemd'
Kernel modules to be explicitly loaded at system boot time, as well as parameters
to be passed to any kernel modules when the module is loaded can be specified
in configuration files located in /etc/modules-load.d/
, e.g.:
/etc/modules-load.d/my_module.conf
A files can have any name, but the name must end with .conf
,
and can contain lines like:
# Load my_module.ko at boot time my_module
# Pass an option to my_module when it's loaded options my_module parameter_name=parameter_value
— Martin Burnicki martin.burnicki@burnicki.net, last updated 2021-08-12