Re: FC3 and NVIDIA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

> On Fri, 12 Nov 2004 08:55:49 -0800 (PST), Hardy Merrill
> <hmerrill123@xxxxxxxxx> 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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux