diff options
author | Andrew Morton <akpm@osdl.org> | 2004-05-24 18:45:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-24 18:45:03 -0700 |
commit | 6dc50ae9666e593761af61df6a1b60689c2e40a2 (patch) | |
tree | dddcfc6948b09de1a76c5a3f05370c9c27b27eed /Documentation | |
parent | 625ba457febfff0907828a69a3175365d96523ad (diff) | |
download | history-6dc50ae9666e593761af61df6a1b60689c2e40a2.tar.gz |
[PATCH] No interpretation of HD spindown timeout in laptop mode ACPI binding script.
From: Bart Samwel <bart@samwel.tk>
Currently the ACPI binding script in the Laptop Mode doc always says "20
seconds" and "2 hours" for the timeouts it uses. This is incorrect if the
user changed the config values, so we print something more general.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/laptop-mode.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/laptop-mode.txt b/Documentation/laptop-mode.txt index 92048679bd2913..423ecefb7bc147 100644 --- a/Documentation/laptop-mode.txt +++ b/Documentation/laptop-mode.txt @@ -502,7 +502,7 @@ status=`awk '/^state: / { print $2 }' /proc/acpi/ac_adapter/AC/state` case $status in "on-line") - echo "Setting HD spindown to 2 hours" + echo "Setting HD spindown for AC mode." /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 @@ -510,7 +510,7 @@ case $status in exit 0 ;; "off-line") - echo "Setting HD spindown to 20 seconds" + echo "Setting HD spindown for battery mode." /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 |