From 279ca69727066da306d75c3a6e27d22301ab5305 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 26 Aug 2008 01:32:33 +0000 Subject: modprobe-small: support "blacklist" keyword in /etc/modules/ --- modutils/modprobe-small.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) free(deps); /* insmod -> load it */ - if (!is_rmmod) { + if (!is_rmmod && !strstr(options, "blacklist")) { errno = 0; if (load_module(info->pathname, options) != 0) { if (EEXIST != errno) { -- cgit v1.2.3