/usr/lib/systemd/system-sleep
NameSizeModeActions
hdparm920755editdlrm
unattended-upgrades2190755editdlrm
Edit: /usr/lib/systemd/system-sleep/unattended-upgrades (219B)
#!/bin/sh set -e if [ "$2" = "hibernate" ] || [ "$2" = "hybrid-sleep" ]; then case "$1" in pre) /usr/share/unattended-upgrades/unattended-upgrade-shutdown --stop-only ;; esac fi