Am 30.05.2014 18:34, schrieb Nikolaus Rath: >> >> The problem with simply doing nothing on hibernate when >> /run/do-not-hibernate exists, is that this is also not visible to the >> user since there there is no API to communicate that to the user why >> hibernate did not succeed. > > Well, in my case I'm calling 'systemctl hibernate' from the command > line, so a simple message to the console would do.
Do you want to work on such a patch? You'd have to implement this check in systemd (or logind) and then communicate the failure reason back to the caller. That requires updates to the D-Bus interface etc. This is personally very low prio for me but I'd review a patch if provided. Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature