:: Re: [DNG] suspend and hybernate
Pàgina inicial
Delete this message
Reply to this message
Autor: KatolaZ
Data:  
A: dng
Assumpte: Re: [DNG] suspend and hybernate
On Wed, Apr 13, 2016 at 12:20:49PM +0200, richard lucassen wrote:
> On Tue, 12 Apr 2016 21:27:40 -0400
> Steve Litt <slitt@???> wrote:
>
> > How can I achieve each condition from the command prompt?
>
> hibernate:
>
> echo disk > /sys/power/state
>
> suspend:
>
> echo mem > /sys/power/state
>


Which is more or less what pm-suspend and pm-hibernate do, in a clean
way, and allowing to set personalised hooks.

HND

KatolaZ

--
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]