Just change the line “if [ -e /usr/sbin/laptop_mode ] ; then” in
90-hdparm.sh to “if [ -e /var/run/laptop-mode-tools/enabled ] ; then”
because that script is checking if /usr/sbin/laptop_mode exists rather
than if laptop mode tools is enabled. Once laptop-mode-tools is
installed, the file /usr/sbin/laptop_mode is always there whether it is
enabled or not.

** Attachment added: "90-hdparm.diff"
   http://launchpadlibrarian.net/19442410/90-hdparm.diff

-- 
High frequency of load/unload cycles on some hard disks may shorten lifetime
https://bugs.launchpad.net/bugs/59695
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to