1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-23 02:04:32 +03:00
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
..
2020-12-17 20:02:32 +01:00
2020-11-25 09:48:17 +01:00
2020-12-17 20:02:32 +01:00
2020-12-16 18:30:15 +01:00
2020-11-18 16:27:14 +09:00
2020-03-27 20:12:44 +01:00
2020-12-17 20:02:32 +01:00
2020-12-16 17:21:48 +01:00
2021-01-04 11:01:17 +00:00
2021-01-04 11:01:17 +00:00
2021-01-04 11:01:17 +00:00
2020-12-18 12:59:29 +09:00
2020-12-17 20:02:32 +01:00
2020-11-09 13:23:58 +09:00
2020-12-17 20:02:32 +01:00
2020-12-16 17:21:48 +01:00
2020-12-17 20:02:32 +01:00