Hi Michael,
This was fixed in version 1.33 (Debian bug #394557). The latest version
is 1.34, install that and it should work for you!
Cheers,
Bart
Michael Holzt wrote:
Package: laptop-mode-tools
Version: 1.32-1
Severity: normal
The variable PARTITIONS determines which partitions are controlled by
laptop-mode. The default setting is 'auto /dev/mapper/*'. Unfortunately
the '/dev/mapper/*' part does not work and simply can not work because
this syntax is not supported by current code.
The check code in the script is:
| if ( echo " $PARTITIONS " | grep " $DEV " > /dev/null ) ; then
[...]
but in real life this would e.g. expand to
| echo " auto /dev/mapper/* " | grep " /dev/mapper/vg-mydisk "
which does of course not match. I was thinking about a simple fix
but failed to have an idea.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22.4
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages laptop-mode-tools depends on:
ii lsb-base 3.1-23.2etch1 Linux Standard Base 3.1 init scrip
Versions of packages laptop-mode-tools recommends:
ii acpid 1.0.4-5 Utilities for using ACPI power man
ii hdparm 6.9-2 tune hard disk parameters for high
pn sdparm <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]