Actually it needs to go under /etc/pm/sleep.d, and the script should be based on one from /usr/lib/pm-utils/sleep.d, in order to take the correct suspend/hibernate or resume/thaw parameters.
Actually it needs to go under /etc/pm/sleep.d, and the script should be based on one from /usr/lib/ pm-utils/ sleep.d, in order to take the correct suspend/hibernate or resume/thaw parameters.