Closes: https://bugs.gentoo.org/873172 Signed-off-by: Mike Gilbert <flop...@gentoo.org> --- eclass/systemd.eclass | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass index 9e9a9b0cf20..fbed387e0ca 100644 --- a/eclass/systemd.eclass +++ b/eclass/systemd.eclass @@ -132,6 +132,14 @@ systemd_get_systempresetdir() { _systemd_get_dir systemdsystempresetdir /lib/systemd/system-preset } +# @FUNCTION: systemd_get_sleepdir +# @DESCRIPTION: +# Output the path for the system sleep directory. +systemd_get_sleepdir() { + debug-print-function ${FUNCNAME} "${@}" + _systemd_get_dir systemdsleepdir /lib/systemd/system-sleep +} + # @FUNCTION: systemd_dounit # @USAGE: <unit>... # @DESCRIPTION: -- 2.37.3