modules-load
—
Configure kernel modules to load at boot
TABLE OF CONTENTS
modules-load
reads files which contain kernel modules to
load during boot from the list of locations below.
-n
- dry-run mode. This option does everything but actually insert or delete
the modules.
-v
- verbose mode. Print messages about what the program is doing.
Configuration files are read from the following locations:
- /etc/modules-load.d/*.conf
-
- /run/modules-load.d/*.conf
-
- /usr/lib/modules-load.d/*.conf
-
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.
/etc/modules-load.d/virtio-net.conf:
# Load virtio-net.ko at boot
virtio-net
This program is a replacement for the modules-load
utility provided by systemd
.
modules-load
is in the public domain.