summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--modalias.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f710940..520d8ad 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- do not ignore /etc/modprobe.d/*
+
Version 0.12.0 - 13 January 2012, Thierry Vignaud
- switch from libmodprobe to new libkmod
diff --git a/modalias.c b/modalias.c
index 73c71d6..a5b12e2 100644
--- a/modalias.c
+++ b/modalias.c
@@ -65,6 +65,9 @@ char *modalias_resolve_module(const char *modalias) {
/* We only use canned aliases as last resort. */
dkms_file = table_name_to_file("dkms-modules.alias");
const char *alias_filelist[] = {
+ "/run/modprobe.d",
+ "/etc/modprobe.d",
+ "/lib/modprobe.d",
"/lib/module-init-tools/ldetect-lst-modules.alias",
aliasdefault,
dkms_file,