FC3 and NVIDIA

Matthew Saltzman mjs at ces.clemson.edu
Fri Nov 12 20:12:29 UTC 2004


On Fri, 12 Nov 2004, Quy NGUYEN DAI wrote:

> On Fri, 12 Nov 2004 08:55:49 -0800 (PST), Hardy Merrill
> <hmerrill123 at yahoo.com> wrote:
> >   - create file /etc/rc.modules with these lines:
> >       #!/bin/bash
> >       modprobe nvidia
> >   - chmod 755 /etc/rc.modules
>
> Why not put this command in /etc/rc.d/rc.local ?

Gregory Gulik pointed out that this isn't necessary in this case at all,
but the reason for using rc.modules for this is that rc.modules is invoked
early in the init process but rc.local is invoked last.  So if you have
startup scripts that expect certain modules to be loaded and you need to
load them by hand, rc.modules is the palce to do it.

For example, if you did need the nvidia module preloaded to run X, you
wouldn't be able to run rhgb if the module didn't get loaded before
the initscripts ran.

-- 
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs




More information about the fedora-list mailing list