Re: remove loading of modules from boot.
Kerin Millar <[email protected]>
| Newsgroups | gmane.linux.gentoo.newbies |
|---|---|
| Message-ID | <[email protected]> |
Bah, forgot to post this to the list before I submitted ... sorry! Begin forwarded message: Date: Fri, 4 Oct 2002 20:31:05 +0100 From: Kerin Millar <[email protected]> To: Alex Fleak <[email protected]> Subject: Re: [gentoo-newbies] remove loading of modules from boot. On Fri, 4 Oct 2002 13:42:35 -0500 Alex Fleak <[email protected]> wrote: > Hi my gentoo 1.2 box is still trying to load lm_sensors modules at > bootup. I removed the lm_sensors package and the modules are not there > to load. I have looked in /etc/mudules.autoload and they are not > loading from there. what file is trying to load them and how can i > stop it from loading? Try: rc-update del lm_sensors Explanation: The lm_sensors has an associated service control script(s) to deal with bringing it up and down. These scripts will be tied in with so-called runlevels. Gentoo has a much cleaner runlevel system than conventional Linux and other AT&T derived Unixen. The ones you need to worry about are boot and default. If you have a look in /etc/runlevels/boot, for example, you'll see symlinks to scripts contained in /etc/init.d. These scripts start and stop the services correctly (in other words, there's more to these services than just loading a module). The above command just removes any reference to lm_sensors script from any of your runlevels that may contain it. Removing the symlink would be enough, but better to use rc-update :-) --kerframil