---
name: "Modules::Generic"
section: "3pm"
platform: "linux"
package: "systemconfigurator"
version: "1.20-1"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/Modules::Generic"
---

# Modules::Generic(3pm)

Generic modules setup function

## NAME

Modules::Generic - Generic modules setup function

## SYNOPSIS

```
 my $modulesconf = new Modules::ModulesConf(%vars);
```

```
 if ($modulesconf->footprint()) {
      $modulesconf->setup();
 }
```

```
 my @fileschanged = $modulesconf->files();
```

## DESCRIPTION

## METHODS

The following methods exist in this module:

- *files()*

  The files method is merely an accessor method for the all files touched by the instance during its run.

- *footprint()*

  Otherwise, this method will return undef.

- *setup()*

  The setup method sets up the **/etc/modules.conf** file for use.

## AUTHOR

```
  Sean Dague <japh@us.ibm.com>
  Joe Greenseid <jgreenseid@users.sourceforge.net>
```

## SEE ALSO

SystemConifg::Hardware, Util::FileMod, perl
