projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4e4b6b
)
modprobe-small: support "blacklist" keyword in /etc/modules/<modulename>
author
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 26 Aug 2008 01:32:33 +0000
(
01:32
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 26 Aug 2008 01:32:33 +0000
(
01:32
-0000)
modutils/modprobe-small.c
patch
|
blob
|
history
diff --git
a/modutils/modprobe-small.c
b/modutils/modprobe-small.c
index 06c45742b86e711a3e6c48a3cf65f06a1472387e..5e33cdc57d42247941c416b9930f34fe2bba7899 100644
(file)
--- 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) {