[Pm-utils] [patch commit] [000] POSIXification of pm-utils

Till Maas opensource at till.name
Mon Jan 28 14:12:07 PST 2008


On Mon January 28 2008, Till Maas wrote:

> seems to be the best location, i.e. /var/run/pm-utils/lock. The FHS demands
> here that it is cleaned and the purpose fits, too.

Here is now a patch agains pm-utils git with /var/run/pm-utils/lock as 
lockfile. It also makes sure that /var/run/pm-utils, i.e. the directory for 
the lockfile is generated, and it uses variables for the directories to store 
state and service information and creates/removes them properly. They are now 
subdirectories of /var/run/pm-utils.

Also it moves the "take_suspend_lock()" line back to its original place, one 
of the other patches moved it to the wrong location within the funtions file.

Regards,
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pm-utils-use-noclobber-lockfile.patch
Type: text/x-diff
Size: 3393 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080128/f7b92626/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080128/f7b92626/attachment.pgp 


More information about the Pm-utils mailing list