Hi, what is the recommended way to automatically load some modules upon bootup? Ideally it should be part of /etc/rc.d/rc.sysinit. One can find the following entry there: # Load modules (for backward compatibility with VARs) if [ -f /etc/rc.modules ]; then /etc/rc.modules fi This mechanism looks fine to me, but for one it says "backward compatibility", so there must be some more modern approach, and secondly it is sourcing in one file only, e.g. autoloading would have to be edited instead of dropped in. I searched through the archives and bugzilla and found many threads half-resoved, e.g. everybody is scared off to rely on a feature called "backwards compatible" as this is the first step to deprecated. Whoever wrote that comments knows how to do it better, so step up and talk! ;) If there is no better mechanism, then please consider shipping an /etc/rc.modules that sources in /etc/rc.modules.d/* or similar, so packages can simply drop in a module loading script. Thanks! -- Axel.Thimm at ATrpms.net
Attachment:
pgpqZAlEjlVxe.pgp
Description: PGP signature