Stanislav Brabec changed bug 890012
What Removed Added
CC   sbrabec@suse.com
Assignee kstreitova@suse.com sbrabec@suse.com

Comment # 6 on bug 890012 from
Desktop environments use upower to call systemd hibernation and systemd quirks.

pm-utils has its own quirks, which are called by pm-hibernate but not systemd's
systemctl hibernate. See bug 925873 and bug 905424.

systemd is the only supported way to hibernate.

If you have any quirks you need, please convert them to systemd and stop using
pm-utils.

/usr/lib/systemd/system-sleep/myquirk.sh

if [ "$1" = pre ] && ( [ "$2" = hibernate ] || [ "$2" = hybrid-sleep ] ) ; then
        ...
fi
if [ "$1" = pre ] && [ "$2" = sleep ] ; then
        ...
fi
if [ "$1" = post ] && ( [ "$2" = hibernate ] || [ "$2" = hybrid-sleep ] ) ;
then
        ...
fi
if [ "$1" = post ] && [ "$2" = sleep ] ; then
        ...
fi


Note that all systemd hibernate quirks are called in parallel.

Hrvoje Senjan: It seems that pm-utils quirks are no more called by systemd.


You are receiving this mail because: