Stephen Gran wrote:
> Is there any sort of canonical place I can put a script and have it run
> that all of them look at?
I have locally installed a simple script in /etc/pm/sleep.d that does this
for pm-utils and that works for KDE as well. The official package should
have it in /usr/lib/pm-utils/sleep.d/ of course.
$ cat /etc/pm/sleep.d/20hdparm
#!/bin/sh
case "$1" in
hibernate|suspend)
;;
thaw|resume)
/etc/init.d/hdparm restart
;;
*) exit $NA
;;
esac
Cheers,
FJP
Attachment:
signature.asc
Description: This is a digitally signed message part.