From: Emil Velikov Date: Mon, 8 Jul 2024 13:43:21 +0000 (+0100) Subject: man: add few mentions about MODPROBE_OPTIONS X-Git-Tag: v33~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=42d60a3267162a36ec6b6b39a7b91e5078b90979;p=thirdparty%2Fkmod.git man: add few mentions about MODPROBE_OPTIONS The environment variable may alter config file ordering, so mention it in the man page. In addition, highlight that the format is intentionally undocumented since the use by third parties is discouraged. Signed-off-by: Emil Velikov Signed-off-by: Lucas De Marchi --- diff --git a/man/modprobe.8.scd b/man/modprobe.8.scd index b47908bd..321fa59c 100644 --- a/man/modprobe.8.scd +++ b/man/modprobe.8.scd @@ -192,8 +192,12 @@ database. # ENVIRONMENT -The MODPROBE_OPTIONS environment variable can also be used to pass arguments to -*modprobe*. +The MODPROBE_OPTIONS environment variable can also be used to pass command line +arguments to *modprobe*. The format is intentionally left undocumented, since +the use by third-party tools and scripts is discouraged. + +The environment variable originates with the implementation of the install +rules. # COPYRIGHT diff --git a/man/modprobe.d.5.scd b/man/modprobe.d.5.scd index 823ba628..b7b19427 100644 --- a/man/modprobe.d.5.scd +++ b/man/modprobe.d.5.scd @@ -49,6 +49,9 @@ directory they reside in. Configuration files can either be completely replaced priority) or partially replaced (by having a configuration file that is ordered later). +NOTE: The configuration directories may be altered via the MODPROBE_OPTIONS +environment variable. See the ENVIRONMENT section in *modprobe*(8). + # COMMANDS alias _wildcard_ _modulename_