diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2021-01-18 18:05:09 -0800 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2021-01-18 18:26:36 -0800 |
commit | 67e43bbe042a44b0f224b96d9d065b94c5bf0405 (patch) | |
tree | d8f4e4913f7d137101c6ed3511f0c036436f6683 | |
parent | fa67110f896cdef67f42cbc2206ae2a8524acee6 (diff) | |
download | kmod-67e43bbe042a44b0f224b96d9d065b94c5bf0405.tar.gz |
libkmod: Fix documentation on config precedence order
/etc is has higher priority than /run.
-rw-r--r-- | libkmod/libkmod.c | 2 | ||||
-rw-r--r-- | man/depmod.d.xml | 2 | ||||
-rw-r--r-- | man/modprobe.d.xml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libkmod/libkmod.c b/libkmod/libkmod.c index 43423d6..25655b9 100644 --- a/libkmod/libkmod.c +++ b/libkmod/libkmod.c @@ -235,7 +235,7 @@ static char *get_kernel_release(const char *dirname) * @config_paths: ordered array of paths (directories or files) where * to load from user-defined configuration parameters such as * alias, blacklists, commands (install, remove). If - * NULL defaults to /run/modprobe.d, /etc/modprobe.d and + * NULL defaults to /etc/modprobe.d, /run/modprobe.d and * /lib/modprobe.d. Give an empty vector if configuration should * not be read. This array must be null terminated. * diff --git a/man/depmod.d.xml b/man/depmod.d.xml index 4341a56..6472bda 100644 --- a/man/depmod.d.xml +++ b/man/depmod.d.xml @@ -40,8 +40,8 @@ <refsynopsisdiv> <para><filename>/usr/lib/depmod.d/*.conf</filename></para> - <para><filename>/etc/depmod.d/*.conf</filename></para> <para><filename>/run/depmod.d/*.conf</filename></para> + <para><filename>/etc/depmod.d/*.conf</filename></para> </refsynopsisdiv> <refsect1><title>DESCRIPTION</title> diff --git a/man/modprobe.d.xml b/man/modprobe.d.xml index 211af84..a674d69 100644 --- a/man/modprobe.d.xml +++ b/man/modprobe.d.xml @@ -41,8 +41,8 @@ <refsynopsisdiv> <para><filename>/lib/modprobe.d/*.conf</filename></para> - <para><filename>/etc/modprobe.d/*.conf</filename></para> <para><filename>/run/modprobe.d/*.conf</filename></para> + <para><filename>/etc/modprobe.d/*.conf</filename></para> </refsynopsisdiv> <refsect1><title>DESCRIPTION</title> |