From: Lucas De Marchi Date: Tue, 19 Jan 2021 02:05:09 +0000 (-0800) Subject: libkmod: Fix documentation on config precedence order X-Git-Tag: v29~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=67e43bbe042a44b0f224b96d9d065b94c5bf0405;p=thirdparty%2Fkmod.git libkmod: Fix documentation on config precedence order /etc is has higher priority than /run. --- diff --git a/libkmod/libkmod.c b/libkmod/libkmod.c index 43423d63..25655b95 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 4341a568..6472bda2 100644 --- a/man/depmod.d.xml +++ b/man/depmod.d.xml @@ -40,8 +40,8 @@ /usr/lib/depmod.d/*.conf - /etc/depmod.d/*.conf /run/depmod.d/*.conf + /etc/depmod.d/*.conf DESCRIPTION diff --git a/man/modprobe.d.xml b/man/modprobe.d.xml index 211af848..a674d693 100644 --- a/man/modprobe.d.xml +++ b/man/modprobe.d.xml @@ -41,8 +41,8 @@ /lib/modprobe.d/*.conf - /etc/modprobe.d/*.conf /run/modprobe.d/*.conf + /etc/modprobe.d/*.conf DESCRIPTION