/usr/lib/pm-utils/sleep.d/20tuxonice is in tuxonice-userui 1.1+dfsg1.gc3bdd83-4.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/bin/sh
case "$1:$2" in
hibernate:hibernate) ;;
suspend:suspend-hybrid) set hybrid-sleep ;;
*) false ;;
esac && [ -d /sys/power/tuxonice ] &&
exec /lib/systemd/system-sleep/tuxonice pre $1
. "${PM_FUNCTIONS}"
exit $NA
|