Comment 103 for bug 59695

Revision history for this message
Ryan Thompson (rct86) wrote : Re: default value in power.sh potentially kills laptop disks

In order to help find all possible ways that the hard drive spindown time could be changed, I have attached the output of the following commands:

sudo find /etc -type f | sudo xargs grep -i ENABLE_LAPTOP_MODE > scripts-that-involve-laptop-mode-setting.txt
sudo find /etc -type f | sudo xargs grep -i hdparm > scripts-that-use-hdparm.txt
sudo find /etc -type f | sudo xargs grep -i laptop_mode > scripts-that-use-laptop-mode.txt
sudo find /etc -type f | sudo xargs grep -i /etc/default/acpi-support > scripts-that-source-acpi-support.txt

I will investigate each of the scripts listed in these files, and determine what changes each one makes, when it makes them, and under what conditions. I will report back, probably later today.

However, since I don't have every package installed, these cannot possibly be full lists. I would recommend that you run the same commands on your own computer and see what files they turn up.