summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-05-30 02:58:14 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-05-30 02:58:14 +0000
commite2cf26546e724fd5c3f581cfdad62f317da5d284 (patch)
tree0538c6650e8cbc287a2f84e9390cd152e95dd5b6 /perl-install
parentd8a1d8a051bd6dd1a75ffe1a61ff6ac7110abeca (diff)
downloaddrakx-e2cf26546e724fd5c3f581cfdad62f317da5d284.tar
drakx-e2cf26546e724fd5c3f581cfdad62f317da5d284.tar.gz
drakx-e2cf26546e724fd5c3f581cfdad62f317da5d284.tar.bz2
drakx-e2cf26546e724fd5c3f581cfdad62f317da5d284.tar.xz
drakx-e2cf26546e724fd5c3f581cfdad62f317da5d284.zip
(write_preload_conf) factorize modules managment
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index f35a44b93..2351bd556 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -188,12 +188,9 @@ sub write_preload_conf {
my ($conf) = @_;
my @l;
push @l, 'scsi_hostadapter' if $conf->get_probeall('scsi_hostadapter');
- push @l, map { $_->{driver} } probe_category($_) foreach qw(multimedia/dvb multimedia/tv);
push @l, map { if_($_->{driver} =~ /^Module:(.*)/, $1) } detect_devices::probeall();
push @l, 'nvram' if detect_devices::isLaptop();
- push @l, map { $_->{driver} } probe_category('various/laptop');
- push @l, map { $_->{driver} } probe_category('input/joystick');
- push @l, map { $_->{driver} } probe_category('various/crypto');
+ 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/;
push @l, 'evdev' if detect_devices::getSynapticsTouchpads();
my @l_26 = @l;