summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/autoconf.pm
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 /perl-install/harddrake/autoconf.pm
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
Diffstat (limited to 'perl-install/harddrake/autoconf.pm')
-rw-r--r--perl-install/harddrake/autoconf.pm1
1 files changed, 1 insertions, 0 deletions
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);