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.:


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
# 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

  • miscellaneous_tips/02_linux/linux_systemd/automatic_module_loading_with_systemd.txt
  • Zuletzt geändert: 2021-08-12 10:13
  • von martin