diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index cfb2dbc71..cf68ac593 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -829,7 +829,9 @@ 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 (my ($acpi) = cat_("/proc/cmdline") =~ /\bacpi=(\S+)/) { + bootloader::add_append($o->{bootloader}, acpi => $acpi); + } if (arch() =~ /alpha/) { if (my $dev = fsedit::get_root($o->{fstab})) { |