Package: hdparm
Version: 5.9-3
Severity: minor

I have added some comments to /etc/init.d/hdparm as well as fixed some
indenting problems that made it difficult for me to understand how the
script was working.  I thought I'd share them.  I also made some
comments in the /etc/hdparm.conf file describing a bit more on how it
is supposed to be organized and how the init script reads it.

I noticed that the set_option() routine placed a -q after every
argument if 'quiet' was in the conf file.  I removed the lines that
caused this and instead added $[OPT,DEF]_QUIET to the final command
line.

The affected files are attached.  

David Berg

Attachment: hdparm.init
Description: Binary data

Attachment: hdparm.conf
Description: Binary data

Reply via email to