summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-08-26 01:32:33 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-08-26 01:32:33 +0000
commit279ca69727066da306d75c3a6e27d22301ab5305 (patch)
treee49bb0712aea4545b97ef1739e6509fec81b59fd
parentc4e4b6b93661ef4c0b5f1f4bc95fec3e6a97c707 (diff)
downloadbusybox-w32-279ca69727066da306d75c3a6e27d22301ab5305.tar.gz
busybox-w32-279ca69727066da306d75c3a6e27d22301ab5305.tar.bz2
busybox-w32-279ca69727066da306d75c3a6e27d22301ab5305.zip
modprobe-small: support "blacklist" keyword in /etc/modules/<modulename>
-rw-r--r--modutils/modprobe-small.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c
index 06c45742b..5e33cdc57 100644
--- a/modutils/modprobe-small.c
+++ b/modutils/modprobe-small.c
@@ -600,7 +600,7 @@ static void process_module(char *name, const char *cmdline_options)
600 free(deps); 600 free(deps);
601 601
602 /* insmod -> load it */ 602 /* insmod -> load it */
603 if (!is_rmmod) { 603 if (!is_rmmod && !strstr(options, "blacklist")) {
604 errno = 0; 604 errno = 0;
605 if (load_module(info->pathname, options) != 0) { 605 if (load_module(info->pathname, options) != 0) {
606 if (EEXIST != errno) { 606 if (EEXIST != errno) {