summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-11-02 11:02:17 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-11-02 11:02:17 +0000
commit3e47cfe86d6f8b108818e22c25cfc321c6a16a33 (patch)
tree140e14bf16c7658263f468a92da900958414f41a
parent66a8d421d8325c862284e02dc72baeef138dfa8e (diff)
downloaddrakx-3e47cfe86d6f8b108818e22c25cfc321c6a16a33.tar
drakx-3e47cfe86d6f8b108818e22c25cfc321c6a16a33.tar.gz
drakx-3e47cfe86d6f8b108818e22c25cfc321c6a16a33.tar.bz2
drakx-3e47cfe86d6f8b108818e22c25cfc321c6a16a33.tar.xz
drakx-3e47cfe86d6f8b108818e22c25cfc321c6a16a33.zip
(setupBootloaderBefore) dmidecode() was renamed as computer_info()
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 323b8c3b3..123e620b6 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -859,7 +859,7 @@ sub setupBootloaderBefore {
if (my ($acpi) = cat_("/proc/cmdline") =~ /\bacpi=(\w+)/) {
if ($acpi eq 'ht') {
#- the user is using the default, which may not be the best
- my $year = detect_devices::dmidecode()->{BIOS_Year};
+ my $year = detect_devices::computer_info()->{BIOS_Year};
if (detect_devices::isLaptop() && $year >= 2002) {
log::l("forcing ACPI on a laptop with recent bios ($year)");
$acpi = 'on';