On Mon, May 09, 2016 at 01:22:43PM -0400, Scott Moser wrote:
> There is an initial /lib/systemd/system-sleep/bcache.sh in the Ubuntu bug.
> The script there intends to use /lib/systemd/system-sleep/ . However,
> systemd-suspend.service(8) has the following to say:
> 
>  | Note that scripts or binaries dropped in /lib/systemd/system-sleep/ are
>  | intended for local use only and should be considered hacks. If
>  | applications want to be notified of system suspend/hibernation and
>  | resume, there are much nicer interfaces available.

Thank you for the patch! I'm reluctant to commit code that uses an
interface documented like this. So I guess this bug needs someone to
volunteer a patch that only uses recommended interfaces.

Attachment: signature.asc
Description: PGP signature

Reply via email to