summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
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/;