Bug#452489: acpi-support: Broken test for hdparm and laptop-mode

2007-11-23 Thread Bart Samwel
Christophe Combelles wrote: in /etc/acpi/resume.d/90-hdparm.sh The expression below if grep -q CONTROL_HD_POWERMGMT=1 is not enough, since the following will return true instead of false: #CONTROL_HD_POWERMGMT=1 and the following will return false instead of true: CONTROL_HD_POWERMGMT = 1

Bug#452489: acpi-support: Broken test for hdparm and laptop-mode

2007-11-23 Thread Christophe Combelles
Package: acpi-support Version: 0.103-3 Severity: normal in /etc/acpi/resume.d/90-hdparm.sh The expression below if grep -q CONTROL_HD_POWERMGMT=1 is not enough, since the following will return true instead of false: #CONTROL_HD_POWERMGMT=1 and the following will return false instead of true: