tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Loading modules during startup
On Sun, 20 Feb 2011, Paul Goyette wrote:
My solution has been to manually load the appropriate modules in my
/etc/rc.local file. But it would seem to me that there should be a "better
way" (tm) to do this.
I don't think that a single /etc/rc.d/modules script (with some sort of
configuration file) would necessarily fill the bill, since there might be
different dependencies (some modules might need to be loaded early, some
later).
Any thoughts or suggestions?
Add match info to the plist, and have the parent bus' driver load the
appropriate module for you. Here's an example of what I mean:
http://ftp.netbsd.org/pub/NetBSD/misc/jmcneill/module-cfload.patch
Cheers,
Jared
Home |
Main Index |
Thread Index |
Old Index