NAME
Modules::ModulesConf - setup for modules.conf
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:
- footprint()
-
This method returns 1 if /etc/modules.conf is being used on the machine. The test succeeds and returns 1 in two cases: Case 1: /etc/modules.conf exists and /etc/modutils/aliases does not exist. Case 2: /etc/conf.modules and /etc/modutils/aliases both do not exist.
Otherwise, this method will return undef.
AUTHOR
Sean Dague <[email protected]>Joe Greenseid <[email protected]>
SEE ALSO
Hardware, Util::FileMod, perl