Re: Simple Shell Script



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
.



Relevant Pages

  • Re: DVD Player
    ... (Dan L ) ... > distros I have tried, ... too bad it's closing on two years since ... any maintenance has been performed on this ...
    (alt.os.linux.suse)
  • ATI RADEON 9200SE/200MHz Supported?
    ... Is the ATI RADEON 9200SE/200MHz video chipset supported by current linux ... TIA, Dan ...
    (comp.os.linux.hardware)
  • Is ATI RADEON 9200SE/200MHz Supported?
    ... in the latest distros including Gentoo? ... TIA, Dan ...
    (comp.os.linux.misc)