diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-08-26 01:32:33 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-08-26 01:32:33 +0000 |
commit | 279ca69727066da306d75c3a6e27d22301ab5305 (patch) | |
tree | e49bb0712aea4545b97ef1739e6509fec81b59fd /modutils | |
parent | c4e4b6b93661ef4c0b5f1f4bc95fec3e6a97c707 (diff) | |
download | busybox-279ca69727066da306d75c3a6e27d22301ab5305.tar.gz |
modprobe-small: support "blacklist" keyword in /etc/modules/<modulename>
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/modprobe-small.c | 2 |
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) 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) { |