diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-01-20 13:06:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-01-20 13:06:48 +0000 |
commit | a3345f6cf51e06d788541eba1de6a3f8f4dd2872 (patch) | |
tree | 92287881c0a53ed2e06aba9b5f689cbfdadcbce1 /perl-install/install_any.pm | |
parent | 3a5403296f8530a76dd8d3c52ef17740e521b393 (diff) | |
download | drakx-a3345f6cf51e06d788541eba1de6a3f8f4dd2872.tar drakx-a3345f6cf51e06d788541eba1de6a3f8f4dd2872.tar.gz drakx-a3345f6cf51e06d788541eba1de6a3f8f4dd2872.tar.bz2 drakx-a3345f6cf51e06d788541eba1de6a3f8f4dd2872.tar.xz drakx-a3345f6cf51e06d788541eba1de6a3f8f4dd2872.zip |
(default_packages) simplify through modules::append_to_modules_loaded_at_startup_for_all_kernels()
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 14b018c2d..3f3453289 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -718,15 +718,15 @@ sub default_packages { push @l, "alsa", "alsa-utils" if any { $o->{modules_conf}->get_alias("sound-slot-$_") =~ /^snd-/ } 0 .. 4; my %dmi = map { $_->{name} => $_ } detect_devices::dmidecode(); if ($dmi{System}{Manufacturer} eq "Dell Computer" && member($dmi{System}{'Product Name'}, qw(Inspiron Latitude))) { - modules::append_to_modules_loaded_at_startup($_, 'i8k') foreach "$::prefix/etc/modules", "$::prefix/etc/modprobe.preload"; + modules::append_to_modules_loaded_at_startup_for_all_kernels('i8k'); push @l, "i8kutils"; } if ($dmi{System}{Manufacturer} eq 'TOSHIBA' && $dmi{BIOS}{Vendor} eq 'TOSHIBA') { - modules::append_to_modules_loaded_at_startup($_, 'toshiba') foreach "$::prefix/etc/modules", "$::prefix/etc/modprobe.preload"; + modules::append_to_modules_loaded_at_startup_for_all_kernels('toshiba'); push @l, "toshutils"; } if ($dmi{BIOS}{Vendor} eq 'COMPAL' && $dmi{BIOS}{Characteristics} =~ /Function key-initiated network boot is supported/) { - modules::append_to_modules_loaded_at_startup($_, 'acerhk') foreach "$::prefix/etc/modules", "$::prefix/etc/modprobe.preload"; + modules::append_to_modules_loaded_at_startup_for_all_kernels('acerhk'); } push @l, "grub" if isLoopback(fs::get::root($o->{fstab})); |