summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-17 14:32:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-17 14:32:41 +0000
commit07d9e2441751fa06f5d8e5a07af0aa297bbef6d7 (patch)
tree29635d80a02830a4782278e5d488ff78dff0135b /perl-install
parent6a6f6637fbf6a87f5d58f3c496767b832287478d (diff)
downloaddrakx-backup-do-not-use-07d9e2441751fa06f5d8e5a07af0aa297bbef6d7.tar
drakx-backup-do-not-use-07d9e2441751fa06f5d8e5a07af0aa297bbef6d7.tar.gz
drakx-backup-do-not-use-07d9e2441751fa06f5d8e5a07af0aa297bbef6d7.tar.bz2
drakx-backup-do-not-use-07d9e2441751fa06f5d8e5a07af0aa297bbef6d7.tar.xz
drakx-backup-do-not-use-07d9e2441751fa06f5d8e5a07af0aa297bbef6d7.zip
have acpi=off by default
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index be496e49c..cfb2dbc71 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -829,6 +829,7 @@ sub setupBootloaderBefore {
if (cat_("/proc/cmdline") =~ /\b(pci)=(\S+)/) {
bootloader::add_append($o->{bootloader}, $1, $2);
}
+ bootloader::add_append($o->{bootloader}, acpi => (cat_("/proc/cmdline") =~ /\bacpi=(\S+)/ ? $1 : 'off'));
if (arch() =~ /alpha/) {
if (my $dev = fsedit::get_root($o->{fstab})) {