aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-05-14 20:20:34 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-14 20:20:34 -0700
commit15c2165e9e7781106348addd65b2ad4dcbdcde9d (patch)
tree1dc8809d5eeb7880f6d50ca31ad2c6b98246f505 /Documentation
parentc793ef32a95e0c3c33e4f926b074c7d9ffe2bca2 (diff)
downloadhistory-15c2165e9e7781106348addd65b2ad4dcbdcde9d.tar.gz
[PATCH] laptop-mode documentation fix
From: Sau Dan Lee <danlee@informatik.uni-freiburg.de> The script /etc/acpi/actions/battery.sh in the document doesn't run, because of a wrong name.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/laptop-mode.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/laptop-mode.txt b/Documentation/laptop-mode.txt
index a54adaddab42a0..b0ff8d661b58b7 100644
--- a/Documentation/laptop-mode.txt
+++ b/Documentation/laptop-mode.txt
@@ -485,7 +485,7 @@ status=`awk '/^state: / { print $2 }' /proc/acpi/ac_adapter/AC/state`
case $status in
"on-line")
echo "Setting HD spindown to 2 hours"
- /sbin/laptop-mode stop
+ /sbin/laptop_mode stop
/sbin/hdparm -S $ACAD_HD /dev/hda > /dev/null 2>&1
/sbin/hdparm -B 255 /dev/hda > /dev/null 2>&1
#echo -n $ACAD_CPU:$ACAD_THR > /proc/acpi/processor/CPU0/limit
@@ -493,7 +493,7 @@ case $status in
;;
"off-line")
echo "Setting HD spindown to 20 seconds"
- /sbin/laptop-mode start
+ /sbin/laptop_mode start
/sbin/hdparm -S $BATT_HD /dev/hda > /dev/null 2>&1
/sbin/hdparm -B 1 /dev/hda > /dev/null 2>&1
#echo -n $BATT_CPU:$BATT_THR > /proc/acpi/processor/CPU0/limit