Comment 599 for bug 59695

Revision history for this message
angel chen (angelchen1111) wrote :

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.