Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using pm-hibernate, and would like to reboot the machine after it's done hibernating, rather than having the machine turn off.

Is there a way to do this with pm-hibernate, or any other Linux hibernate thing?

share|improve this question
I would think the answer is, probably, yes, but I don't know how. You'll probably you'll probably have to investigate all the steps that make hibernate in the first place and write a script to do it. Because I think this is all basically scripted in the first place. – xenoterracide Apr 11 '10 at 1:03
But I just want to know why you want to reboot the system after hibernate. AFAIK, boot up the box after hibernate will bring you to the stats you turned it off. You want to loop it over? Sorry for my poor English. I hope I expressed my idea fully. – Grissiom Apr 12 '10 at 11:52
Dual boot, if you hibernate windows you can reboot quickly into an already hibernated linux. Or the other way around. :) – Algific Apr 12 '10 at 12:32
up vote 5 down vote accepted

From man pm-hibernate in the "CONFIGURATION VARIABLES" section:

Default method to power down the system when hibernating. If not set, the system will use the kernel default as a default value. Check /sys/power/disk for valid values. The default value will be surrounded by [square brackets].

On my system that file contains:

test testproc [shutdown] reboot
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .