From 7500141d25b684ab1605d365c75b9bdfd1f695f4 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 1 Oct 2008 14:14:54 +0000 Subject: service_harddrake: enable/disable apmd if needed --- perl-install/NEWS | 1 + perl-install/harddrake/autoconf.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/perl-install/NEWS b/perl-install/NEWS index d7b43d741..6daba3330 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,5 +1,6 @@ - bootloader-config (and other tools): handle /dev/mapper/xxx1 instead of /dev/mapper/xxxp1 (#44182) +- service_harddrake: enable/disable apmd if needed Version 11.62 - 1 October 2008 diff --git a/perl-install/harddrake/autoconf.pm b/perl-install/harddrake/autoconf.pm index 0f7eb33c3..f59281b55 100644 --- a/perl-install/harddrake/autoconf.pm +++ b/perl-install/harddrake/autoconf.pm @@ -72,6 +72,7 @@ sub laptop { # $do_pkgs->ensure_is_installed("numlock", "/etc/rc.d/init.d/numlock"); # } require services; + services::set_status("apmd", -e "/proc/apm"); services::set_status("cpufreq", $on_laptop); services::set_status("apmd", $on_laptop); services::set_status("laptop-mode", $on_laptop); -- cgit v1.2.1