1 |
Closes: https://bugs.gentoo.org/873172 |
2 |
Signed-off-by: Mike Gilbert <floppym@g.o> |
3 |
--- |
4 |
eclass/systemd.eclass | 8 ++++++++ |
5 |
1 file changed, 8 insertions(+) |
6 |
|
7 |
diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass |
8 |
index 9e9a9b0cf20..fbed387e0ca 100644 |
9 |
--- a/eclass/systemd.eclass |
10 |
+++ b/eclass/systemd.eclass |
11 |
@@ -132,6 +132,14 @@ systemd_get_systempresetdir() { |
12 |
_systemd_get_dir systemdsystempresetdir /lib/systemd/system-preset |
13 |
} |
14 |
|
15 |
+# @FUNCTION: systemd_get_sleepdir |
16 |
+# @DESCRIPTION: |
17 |
+# Output the path for the system sleep directory. |
18 |
+systemd_get_sleepdir() { |
19 |
+ debug-print-function ${FUNCNAME} "${@}" |
20 |
+ _systemd_get_dir systemdsleepdir /lib/systemd/system-sleep |
21 |
+} |
22 |
+ |
23 |
# @FUNCTION: systemd_dounit |
24 |
# @USAGE: <unit>... |
25 |
# @DESCRIPTION: |
26 |
-- |
27 |
2.37.3 |