168. OSRModuleLoading

Load and unload kernel modules

168.1. Authors

  • Johannes Buchhold <jbuch@suse.de>

168.2. Summary of Module Globals

List of Global Functions

  • Load - Load a module if not already loaded by linuxrc and saves the name of the loaded modules in the list loaded_modules.

  • OSRModuleLoading - The constructor init the startup_loaded_modules list.

  • Unload - Unload one kernel module.

  • UnloadAll - Unload all loaded kernel modules.

List of Global Variables

    168.3. Global Functions

    168.3.1. Load

    Load a module if not already loaded by linuxrc and saves the name of the loaded modules in the list loaded_modules.

    Function parameters

    • string modulename

    • string moduleargs

    • string vendorname

    • string devicename

    • boolean ask_before_loading

    • boolean with_modprobe

    Return value

    • boolean - : `dont user choose *not* to load module `ok module loaded ok `fail module loading failed

    168.3.2. OSRModuleLoading

    The constructor init the startup_loaded_modules list.

    Return value

    • void

    168.3.3. Unload

    Unload one kernel module.

    Function parameters

    • string modname

    Return value

    • boolean

    168.3.4. UnloadAll

    Unload all loaded kernel modules.

    Return value

    • boolean

    168.4. Global Variables

    168.5. Module Requirements

    168.5.1. Module Imports

    • ModuleLoading

    168.5.2. Module Includes