Gentoo Archives: gentoo-doc-cvs

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: power-management-guide.xml
Date: Wed, 17 Aug 2011 07:10:26
swift       11/08/17 07:10:12

  Modified:             power-management-guide.xml
  Bug #367145 - Update powermanagement guide to reflect OpenRC changes

Revision  Changes    Path
1.47                 xml/htdocs/doc/en/power-management-guide.xml

file :
diff :

Index: power-management-guide.xml
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- power-management-guide.xml	28 Mar 2011 10:26:10 -0000	1.46
+++ power-management-guide.xml	17 Aug 2011 07:10:12 -0000	1.47
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.46 2011/03/28 10:26:10 nightmorph Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.47 2011/08/17 07:10:12 swift Exp $ -->
 <title>Power Management Guide</title>
@@ -24,8 +24,8 @@
 <!-- See -->
@@ -391,18 +391,20 @@
 <c>softlevel=battery</c>, but it's likely to forget choosing it. A better way
 is faking an ACPI event in the end of the boot process and letting
 <path></path> script decide whether a runlevel change is
-necessary. Open <path>/etc/conf.d/local.start</path> in your favourite editor
-and add these lines:
+necessary. Create a <path>/etc/local.d/battery.start</path> file with the
+following contents:
-<pre caption="Runlevel adjustment at boot time by editing local.start">
+<pre caption="Runlevel adjustment at boot time through local.d/battery.start">
 <comment># Fake acpi event to switch runlevel if running on batteries</comment>
 /etc/acpi/actions/ "battery/battery"
-Prepared like this you can activate Power Management policies for individual
+Don't forget to mark the file as executable (<c>chmod +x
+/etc/local.d/battery.start</c>). Prepared like this you can activate Power
+Management policies for individual devices.
@@ -886,11 +888,17 @@
 loaded with the experimental parameter.
-<pre caption="automatically loading the thinkpad_acpi module">
+<pre caption="Automatically loading the thinkpad_acpi module">
 <comment>(Please read the warnings above before doing this!)</comment>
 # <i>echo "options thinkpad_acpi experimental=1" >> /etc/modprobe.d/thinkpad_acpi</i>
 # <i>update-modules</i>
-# <i>echo thinkpad_acpi >> /etc/modules.autoload.d/kernel-2.6</i>
+# <i>nano /etc/conf.d/modules</i>
+<comment># Autoload the thinkpad_acpi module</comment>
+<comment># Parameters for the thinkpad_acpi module</comment>
 # <i>modprobe thinkpad_acpi</i>