sleep.sh

It's really simple as can you see. Remeber to unpass 'sudo pm-supend'