From 67e43bbe042a44b0f224b96d9d065b94c5bf0405 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Mon, 18 Jan 2021 18:05:09 -0800 Subject: [PATCH] libkmod: Fix documentation on config precedence order /etc is has higher priority than /run. --- libkmod/libkmod.c | 2 +- man/depmod.d.xml | 2 +- man/modprobe.d.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.3