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?

link|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
feedback

2 Answers

up vote 3 down vote accepted

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

HIBERNATE_MODE
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
link|improve this answer
feedback

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.

link|improve this answer
2  
Dual boot, if you hibernate windows you can reboot quickly into an already hibernated linux. Or the other way around. :) – data_jepp Apr 12 '10 at 12:32
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.