Ubuntu is currently switching to pm-utils, so you have to put your script (probably you have to customize it first) into the directories of pm-utils. I can send you the correct paths later, I'm not at my ubuntu computer right now.
Ubuntu is currently switching to pm-utils, so you have to put your script (probably you have to customize it first) into the directories of pm-utils. I can send you the correct paths later, I'm not at my ubuntu computer right now.