Comment 17 for bug 237458

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 237458] Re: /sys/power/disk needs "shutdown" instead of "platform"

On Thursday 08,April,2010 07:23 PM, Martin Pitt wrote:
> Uh, echo shutdown > /sys/power/disk will cause a shutdown? I had
> expected that this was the "mode" configuration, and only echo disk >
> /sys/power/state would do the actual hibernation.
>
> If echo shutdown > /sys/power/disk does the shutdown by itself, this
> hook totally doesn't work, of course.
>
> Sorry if I assumed too much here.
>

Whoops, looks like I was mistaken. Sorry for the noise. I mistook
/sys/power/disk for /sys/power/state.

--
Kind regards,
Chow Loong Jin (GPG: 0x8F02A411)
Ubuntu Developer