]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
man/modprobe.8: use MODULE_DIRECTORY as applicable
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 28 Jan 2026 15:08:37 +0000 (15:08 +0000)
committerLucas De Marchi <demarchi@kernel.org>
Mon, 9 Feb 2026 15:55:41 +0000 (09:55 -0600)
The original XML based documentation was referencing MODULE_DIRECTORY
which got erroneously swapped to DISTCONFDIR during the scdoc
conversion.

Closes: https://github.com/kmod-project/kmod/issues/410
Fixes: f3a423b6 ("man: add scdoc based man pages")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/pull/416
Signed-off-by: Lucas De Marchi <demarchi@kernel.org>
man/modprobe.8.scd

index 16fa94d9874db045238c1f7ecf9fa7869f4ec638..e397bde3d6032f33b6fe4bd673650b4a24452b52 100644 (file)
@@ -20,9 +20,9 @@ modprobe - Add and remove modules from the Linux Kernel
 *modprobe* intelligently adds or removes a module from the Linux kernel: note
 that for convenience, there is no difference between \_ and - in module names
 (automatic underscore conversion is performed). *modprobe* looks in the module
-directory @DISTCONFDIR@/`uname -r` for all the modules and other files, except
-for the optional configuration files (see *modprobe.d*(5)). *modprobe* will also
-use module options specified on the kernel command line in the form of
+directory @MODULE_DIRECTORY@/`uname -r` for all the modules and other files,
+except for the optional configuration files (see *modprobe.d*(5)). *modprobe* will
+also use module options specified on the kernel command line in the form of
 <module>.<option> and blacklists in the form of modprobe.blacklist=<module>.
 
 Note that unlike in 2.4 series Linux kernels (which are not supported by this