diff options
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/modules.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c index 210579c62..b3090fa18 100644 --- a/mdk-stage1/modules.c +++ b/mdk-stage1/modules.c @@ -251,6 +251,9 @@ enum insmod_return my_insmod(const char * mod_name, enum driver_type type __attr char ** net_devices = NULL; /* fucking compiler */ #endif + if (module_already_present(mod_name)) + return INSMOD_OK; + log_message("have to insmod %s", mod_name); if (disable_modules) { |