summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-08 01:13:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-08 01:13:04 +0000
commit3cd5a583ab5cee766d855abf51ac0e6eec21ab64 (patch)
treee7e2450f45f1a8197eb784c810c69203d4d5c7c9 /perl-install
parent909309f431897fa7a6601d58a45590157323d2e1 (diff)
downloaddrakx-3cd5a583ab5cee766d855abf51ac0e6eec21ab64.tar
drakx-3cd5a583ab5cee766d855abf51ac0e6eec21ab64.tar.gz
drakx-3cd5a583ab5cee766d855abf51ac0e6eec21ab64.tar.bz2
drakx-3cd5a583ab5cee766d855abf51ac0e6eec21ab64.tar.xz
drakx-3cd5a583ab5cee766d855abf51ac0e6eec21ab64.zip
acpi=on on every recent bios, not only laptops
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 5ae395a02..6ff7596c5 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -810,9 +810,8 @@ 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::computer_info()->{BIOS_Year};
- if (detect_devices::isLaptop() && $year >= 2002) {
- log::l("forcing ACPI on a laptop with recent bios ($year)");
+ if (detect_devices::computer_info()->{BIOS_Year} >= 2002) {
+ log::l("forcing ACPI on recent bios ($year)");
$acpi = '';
}
}