On Tue, Oct 12, 2010 at 05:27:27PM +0200, Simon Schampijer wrote:
> For 0.84 we can do what powerd offers, creating a file based on the pid 
> in /var/run/powerd-inhibit-suspend/ (those are removed by powerd when it 
> goes into suspend the next time).

If I understand correctly, these are only removed if the process with
the pid no longer exists.  We can rely on /var/run being empty on boot,
since it is a tmpfs.

-- 
James Cameron
http://quozl.linux.org.au/
_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to