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: http://review.tizen.org/git/?a=commitdiff_plain;h=279ca69727066da306d75c3a6e27d22301ab5305;p=platform%2Fupstream%2Fbusybox.git modprobe-small: support "blacklist" keyword in /etc/modules/ --- diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c index 06c4574..5e33cdc 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) {