Re: Simple Shell Script
- From: "J.O. Aho" <user@xxxxxxxxxxx>
- Date: Tue, 27 Feb 2007 11:16:31 +0100
Dan N wrote:
I need a script to insmod a module if lsmod doesn't list it. How would I
go about doing that? I know it would be pretty simple.
Nothing bad will happen if you modprobe a module that is already loaded, so you wouldn't have to test.
If it's a module you usually do need, then better to set it to be loaded at startup, look at your modules.conf (some distros may use conf.modules) and then check that your distro don't auto generate that file based on other files at boot up.
--
//Aho
.
- Follow-Ups:
- Re: Simple Shell Script
- From: Dan N
- Re: Simple Shell Script
- References:
- Simple Shell Script
- From: Dan N
- Simple Shell Script
- Prev by Date: Re: Simple Shell Script
- Next by Date: Re: Shutdown problem in RH9
- Previous by thread: Re: Simple Shell Script
- Next by thread: Re: Simple Shell Script
- Index(es):
Relevant Pages
|