Systemd/src/sleep
Zach Smith ae463e4ef2 systemd-sleep: Set SYSTEMD_SLEEP_ACTION for systemd-sleep hooks.
When suspend-then-hibernate is called, hooks have no ability to determine which
stage of the request is being handled; they only see 'pre' and 'post' with the
verb 'suspend-then-hibernate'. This change introduces an environment variable
called SYSTEMD_SLEEP_ACTION that contains the name of the action that is
processing: 'suspend', 'hibernate', 'hybrid-sleep', or
'suspend-after-failed-hibernate'.
2021-01-09 18:11:01 +09:00
..
sleep.c systemd-sleep: Set SYSTEMD_SLEEP_ACTION for systemd-sleep hooks. 2021-01-09 18:11:01 +09:00
sleep.conf sleep: install default sleep.conf 2019-01-03 14:43:15 +01:00