From: Denis Vlasenko Date: Tue, 26 Aug 2008 01:32:33 +0000 (-0000) Subject: modprobe-small: support "blacklist" keyword in /etc/modules/ X-Git-Tag: 1_13_0~227 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=279ca69727066da306d75c3a6e27d22301ab5305;p=oweals%2Fbusybox.git modprobe-small: support "blacklist" keyword in /etc/modules/ --- 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) {