summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-01 14:14:54 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-01 14:14:54 +0000
commit7500141d25b684ab1605d365c75b9bdfd1f695f4 (patch)
treedd24e38868e1766611a95c3d4384c5f939dfaeb2
parent7515fc6c2f5a02b40e77cf356a505f0288286b31 (diff)
downloaddrakx-7500141d25b684ab1605d365c75b9bdfd1f695f4.tar
drakx-7500141d25b684ab1605d365c75b9bdfd1f695f4.tar.gz
drakx-7500141d25b684ab1605d365c75b9bdfd1f695f4.tar.bz2
drakx-7500141d25b684ab1605d365c75b9bdfd1f695f4.tar.xz
drakx-7500141d25b684ab1605d365c75b9bdfd1f695f4.zip
service_harddrake: enable/disable apmd if needed
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/harddrake/autoconf.pm1
2 files changed, 2 insertions, 0 deletions
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);