PHP 8.5.2
Preview: fwupd.shutdown Size: 252 B
//lib/systemd/system-shutdown/fwupd.shutdown

#!/bin/sh

# no history database exists
[ -f /var/lib/fwupd/pending.db ] || exit 0

# activate firmware when we have a read-only filesystem
if ! /usr/bin/fwupdtool activate; then
        ret=$?
        [ "$ret" -eq "2" ] && exit 0
        exit $ret
fi

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
252 B lrwxr-xr-x 2025-11-30 13:12:14
Edit Download
160 B lrwxr-xr-x 2024-07-29 08:06:31
Edit Download

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