diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-30 15:03:44 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-10-30 15:03:44 +0000 |
commit | c1cd104e380b066337428bbe4af055f8db198fe2 (patch) | |
tree | db30029a962b3720cd83acbb27a0b544270dacf2 | |
parent | 1efb3ae0770ccccc835e4c4eb67b495b791e9192 (diff) | |
download | drakx-c1cd104e380b066337428bbe4af055f8db198fe2.tar drakx-c1cd104e380b066337428bbe4af055f8db198fe2.tar.gz drakx-c1cd104e380b066337428bbe4af055f8db198fe2.tar.bz2 drakx-c1cd104e380b066337428bbe4af055f8db198fe2.tar.xz drakx-c1cd104e380b066337428bbe4af055f8db198fe2.zip |
don't log anything when module is already present
-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) { |