about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Bui <peter.j.bui@gmail.com>2016-06-01 21:46:47 -0400
committerChristian Neukirchen <chneukirchen@gmail.com>2016-06-02 15:40:21 +0200
commitf38648a7ed5b6a5244d2c7e9d002ce7802060474 (patch)
treed98b01dd3297e6d4978606890b20aadec26ba03c
parentc04b1488a1b88b2700e231203a210a7dc25a09fa (diff)
downloadrunit-void-f38648a7ed5b6a5244d2c7e9d002ce7802060474.tar.gz
runit-void-f38648a7ed5b6a5244d2c7e9d002ce7802060474.tar.xz
runit-void-f38648a7ed5b6a5244d2c7e9d002ce7802060474.zip
Add modules-load.8
Tweaks for mdoclint.

Closes: #51 [via git-merge-pr]
-rw-r--r--Makefile1
-rw-r--r--modules-load.852
2 files changed, 53 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5747f5f..777326c 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,7 @@ install:
 	install -m644 zzz.8 ${DESTDIR}/${PREFIX}/share/man/man8
 	install -m644 shutdown.8 ${DESTDIR}/${PREFIX}/share/man/man8
 	install -m644 halt.8 ${DESTDIR}/${PREFIX}/share/man/man8
+	install -m644 modules-load.8 ${DESTDIR}/${PREFIX}/share/man/man8
 	ln -sf halt.8 ${DESTDIR}/${PREFIX}/share/man/man8/poweroff.8
 	ln -sf halt.8 ${DESTDIR}/${PREFIX}/share/man/man8/reboot.8
 	install -d ${DESTDIR}/etc/sv
diff --git a/modules-load.8 b/modules-load.8
new file mode 100644
index 0000000..31441ec
--- /dev/null
+++ b/modules-load.8
@@ -0,0 +1,52 @@
+.Dd June 1, 2016
+.Dt MODULES-LOAD 8
+.Os Linux
+.Sh NAME
+.Nm modules-load
+.Nd Configure kernel modules to load at boot
+.Sh SYNOPSIS
+.Nm modules-load
+.Op Fl nv
+.Sh DESCRIPTION
+.Nm
+reads files which contain kernel modules to load during boot from the list of
+locations below.
+.Bl -tag -width indent
+.It Fl n
+dry-run mode.
+This option does everything but actually insert or delete the modules.
+.It Fl v
+verbose mode.
+Print messages about what the program is doing.
+.El
+.Sh FILES
+Configuration files are read from the following locations:
+.Bl -tag -width indent
+.It /etc/modules-load.d/*.conf
+.It /run/modules-load.d/*.conf
+.It /usr/lib/modules-load.d/*.conf
+.El
+.Pp
+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.
+.Sh EXAMPLES
+.Pa /etc/modules-load.d/virtio-net.conf :
+.Bd -literal -offset indent
+# Load virtio-net.ko at boot
+virtio-net
+.Ed
+.Sh SEE ALSO
+.Xr modprobe 8
+.Sh HISTORY
+This program is a replacement for the
+.Nm modules-load
+utility provided by
+.Nm systemd .
+.Sh AUTHOR
+.An Christian Neukirchen ,
+.Mt chneukirchen@gmail.com .
+.Sh LICENSE
+.Nm
+is in the public domain.