/etc/init.d/modules -- What module lists are loaded
Trevor Smith
Sun Jan 17 14:40:23 2010Hello. I see at the moment that OpenRC's module script loads ONLY the modules that match the first variable found in "$KV", $KV_MAJOR.$KV_MINOR.$KV_MICRO, $KV_MAJOR.$KV_MINOR, then $modules. I am wondering if this behavior could be changed so as to load ALL the modules that match a given kernel version (e.g. a kernel named linux-2.6.31 would load modules from linux-2.6.31, 2.6.31, 2.6 and modules). I think this would be very useful so as to avoid duplication in the /etc/conf.d/modules file. I am using OpenRC 0.6.0, on Gentoo Linux. A possible patch is attached from the Gentoo mailing list (originally from Renat Golubchyk). Thanks. Trevor
Attachment:
modules.patch
Description: Binary data
| Re: /etc/init.d/modules -- What module lists are loaded | Roy Marples |