173. OSRModuleLoading

Load and unload kernel modules

173.1. 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

    173.2. Global Functions

    173.2.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

    173.2.2. OSRModuleLoading

    The constructor init the startup_loaded_modules list.

    Return value

    • void

    173.2.3. Unload

    Unload one kernel module.

    Function parameters

    • string modname

    Return value

    • boolean

    173.2.4. UnloadAll

    Unload all loaded kernel modules.

    Return value

    • boolean

    173.3. Global Variables

    173.4. Module Requirements

    173.4.1. Module Imports

    • ModuleLoading

    173.4.2. Module Includes