modprobe: optional "blacklist" command support (by Natanael Copa)
is_conf_command - 56 +56
include_conf 898 917 +19
check_dep 348 356 +8
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 83/0) Total: 83 bytes
diff --git a/modutils/Config.in b/modutils/Config.in
index b2ef51a..c5e596d 100644
--- a/modutils/Config.in
+++ b/modutils/Config.in
@@ -117,6 +117,18 @@
mismatch between module name and file name, along with bus-specific
aliases (such as pci:... or usb:... aliases).
+config FEATURE_MODPROBE_BLACKLIST
+ bool
+ prompt "Blacklist support"
+ default n
+ depends on MODPROBE && FEATURE_2_6_MODULES
+ help
+ Say 'y' here to enable support for the 'blacklist' command in
+ modprobe.conf. This prevents the alias resolver to resolve
+ blacklisted modules. This is useful if you want to prevent your
+ hardware autodetection scripts to load modules like evdev, frame
+ buffer drivers etc.
+
comment "Options common to multiple modutils"
depends on INSMOD || RMMOD || MODPROBE || LSMOD