PHP 8.5.2
Preview: unattended-upgrades Size: 219 B
//lib/systemd/system-sleep/unattended-upgrades

#!/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

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
92 B lrwxr-xr-x 2022-10-06 12:47:47
Edit Download
227 B lrwxr-xr-x 2024-01-09 20:31:44
Edit Download
219 B lrwxr-xr-x 2024-02-12 17:50:35
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).