I have found in the official ubuntu packages the hibernate script but still i cant hibernate my pc
alaios@taksideytis:/usr/src/hello-2.1.0/src$ sudo hibernate
Your kernel does not have any recent Software Suspend 2 support compiled in.
Please follow the HOWTO linked from
http://softwaresuspend.berlios.de/ for
instructions on how to compile Software Suspend into your kernel.
hibernate: Aborting.