On Thursday 28 February 2008, Adrian Chadd wrote:
> On 28/02/2008, David O'Brien wrote:
> > On Thu, Feb 28, 2008 at 03:26:55PM +0900, Adrian Chadd wrote:
> > > Is there some sane-ish way of auto-generating a list of modules given
> > > a config file? The "device" statements don't match up with the module
> > > name in all bar 4 or 5 places. Is there some chain of files I can
> > > munge to match things up?

> >
> > Not that I know of. :-(

>
> Crap. I may have to hand-massage something together just for testing then.
>
>
>
> Adrian


How about:

cd /boot/kernel; ls *.ko | sed 's/\.ko/_load="YES"/'

I think you still want to remove some modules by hand, for example snd_driver.

--
Pieter de Goeje

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"