mirror of
https://git.busybox.net/busybox.git
synced 2024-12-03 02:23:27 +08:00
modprobe-small: support "blacklist" keyword in /etc/modules/<modulename>
This commit is contained in:
parent
c4e4b6b936
commit
279ca69727
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user