I have a system here where I set a an idle (low-power) timeout for one hard-drive, as it is not used that much. For this, I have the command hdparm -S6 /dev/sdc in /etc/rc.local.
However, I've found that this works well over boots, but when I send the machine into hibernation/suspend and resume, the hard-drive remains powered up; the hdparm setting doesn't "stick". My workaround, which is getting on my nerves, is to issue the command manually again when I resume from hibernation.
Which script/file, like rc.local, is executed after suspend?