Comment 4 for bug 1096641

Revision history for this message
Antonis Kanouras (akanouras) wrote :

Hello and thanks for the fast reply :)

I guess an argument for it would be for use as a helper in local scripts.

While writing a local workaround for #467825, it happened to suit my needs. I would have written a proper one if it didn't exist though. However, since then I caved in and patched upowerd, meaning I have no use for it anymore.

Another issue with it is that if it's used by multiple scripts, it'll only work for the first one that happens to be called by acpid per power state change.

So it's up to you in the end. If you decide its functionality is useful indeed, and since I seem to have stirred the waters here :), I could send you an improved version of it (or of the whole file while I'm at it).