Disable sleep/hibernate hackintosh

Sometimes we get emotional when our computer/laptop can't wake up after being in a sleep/hibernate hackintosh state. I tried several ways to disable the function.

If it really is an issue with hibernation then just disable it.
In Terminal :

sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage