summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-02 02:08:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-02 02:08:06 +0000
commitc7f7e91919ee72b885d5b3253c608393279945ae (patch)
treedf8b892cd5327a89000d39d33824c556e90aaf2a /perl-install/modules.pm
parente5c9364696dd1de43b51b39cd9f3792c2a50a3cf (diff)
downloaddrakx-c7f7e91919ee72b885d5b3253c608393279945ae.tar
drakx-c7f7e91919ee72b885d5b3253c608393279945ae.tar.gz
drakx-c7f7e91919ee72b885d5b3253c608393279945ae.tar.bz2
drakx-c7f7e91919ee72b885d5b3253c608393279945ae.tar.xz
drakx-c7f7e91919ee72b885d5b3253c608393279945ae.zip
create detect_devices::probe_name() & detect_devices::probe_unique_name() and use them
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 2351bd556..e0f02f927 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -188,7 +188,7 @@ sub write_preload_conf {
my ($conf) = @_;
my @l;
push @l, 'scsi_hostadapter' if $conf->get_probeall('scsi_hostadapter');
- push @l, map { if_($_->{driver} =~ /^Module:(.*)/, $1) } detect_devices::probeall();
+ push @l, detect_devices::probe_name('Module');
push @l, 'nvram' if detect_devices::isLaptop();
push @l, map { $_->{driver} } probe_category($_) foreach qw(multimedia/dvb multimedia/tv various/laptop input/joystick various/crypto);
push @l, 'padlock' if cat_("/proc/cpuinfo") =~ /rng_en/;