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
This commit is contained in:
Denis Vlasenko
2008-05-18 14:39:43 +00:00
parent b6c4855f1d
commit 9ddc8d54d1
2 changed files with 38 additions and 5 deletions

View File

@@ -117,6 +117,18 @@ config FEATURE_MODPROBE_FANCY_ALIAS
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