summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 349606f4c..763ccf4ee 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -99,6 +99,12 @@ sub setupBootloader {
eval { run_program::rooted($::prefix, 'lilo', '-u') } if $::isInstall && !$::o->{isUpgrade} && -e "$::prefix/etc/lilo.conf" && glob("$::prefix/boot/boot.*");
bootloader::install($b, $all_hds);
+
+ if (my $acpi = bootloader::get_append($b, 'acpi')) {
+ if (!member($acpi, 'off', 'ht')) {
+ $in->do_pkgs->install('acpi', 'acpid') if !(-x "$::prefix/usr/bin/acpi" && -x "$::prefix/usr/sbin/acpid")
+ }
+ }
}