X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fmodules-load.d.xml;h=4b578d714ce1f5996a3428c03447b3d68884b650;hp=31ffd74bb74c6710385acd6508867c5adb16736b;hb=79ca888f5ad026b5b3844c05a80401905e64e2f0;hpb=7602c46fe6c48792b5eb4d157233066c68be9c9a diff --git a/man/modules-load.d.xml b/man/modules-load.d.xml index 31ffd74bb..4b578d714 100644 --- a/man/modules-load.d.xml +++ b/man/modules-load.d.xml @@ -4,22 +4,23 @@ - + modules-load.d @@ -47,33 +48,37 @@ /etc/modules-load.d/*.conf + /run/modules-load.d/*.conf + /usr/lib/modules-load.d/*.conf Description - systemd uses - /etc/modules-load.d/ to configure - kernel modules to load during boot in a static list. - Each configuration file is named in the style of - /etc/modules-load.d/<program>.conf. Note - that it is usually a better idea to use the automatic - module loading by PCI ID, by DMI ID or similar - triggers configured in the kernel modules themselves - instead of relying on static configuration like - this. + systemd-modules-load.service8 + reads files from the above directories which contain + kernel modules to load during boot in a static list. + Each configuration file is named in the style of + /etc/modules-load.d/program.conf. Note + that it is usually a better idea to rely on the + automatic module loading by PCI IDs, USB IDs, DMI IDs + or similar triggers encoded in the kernel modules + themselves instead of static configuration like + this. In fact, most modern kernel modules are prepared + for automatic loading already. - Configuration Format - - The configuration files should simply contain a - list of kernel module names to load, separated by - newlines. Empty lines and lines whose first - non-whitespace character is # or ; are ignored. + Configuration Format + The configuration files should simply contain a + list of kernel module names to load, separated by + newlines. Empty lines and lines whose first + non-whitespace character is # or ; are ignored. + + Example @@ -88,6 +93,8 @@ virtio-net See Also systemd1, + systemd-modules-load.service8, + systemd-delta1, modprobe8