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

A better regexp would be:
if grep -q '^ *CONTROL_HD_POWERMGMT *= *1'

Agreed, will fix. Thanks for reporting!

Cheers,
Bart



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to