diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-02-10 10:59:13 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-02-10 10:59:13 +0000 |
commit | 2388b23be5eb2bf93bc5580435ba4fbf9ecf9575 (patch) | |
tree | 892f449f41b0dbd696bf7bb9d6f79cbac53bd52e /perl-install/modules.pm | |
parent | b30446ffe29fe1b4756a03f32b32f29ae45d7305 (diff) | |
download | drakx-backup-do-not-use-2388b23be5eb2bf93bc5580435ba4fbf9ecf9575.tar drakx-backup-do-not-use-2388b23be5eb2bf93bc5580435ba4fbf9ecf9575.tar.gz drakx-backup-do-not-use-2388b23be5eb2bf93bc5580435ba4fbf9ecf9575.tar.bz2 drakx-backup-do-not-use-2388b23be5eb2bf93bc5580435ba4fbf9ecf9575.tar.xz drakx-backup-do-not-use-2388b23be5eb2bf93bc5580435ba4fbf9ecf9575.zip |
(write_preload_conf) simplify and support multiple different AGP controllers
(though unprobable)
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index be04d9530..f09936b86 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -183,9 +183,7 @@ sub write_preload_conf { push @l, 'nvram' if cat_('/proc/bus/input/devices') =~ m!^N: Name="SynPS/2 Synaptics TouchPad"$!m; push @l, map { $_->{driver} } probe_category('various/laptop'); my @l_26 = @l; - if (my ($agp) = probe_category('various/agpgart')) { - push @l_26, $agp->{driver}; - } + push @l_26, map { $_->{driver} } probe_category('various/agpgart'); append_to_modules_loaded_at_startup("$::prefix/etc/modules", @l); append_to_modules_loaded_at_startup("$::prefix/etc/modprobe.preload", @l_26); } |