File Manager V1.5

[SYSTEM@ROOT]: /usr/lib/systemd/system-shutdown/
INJECT_FILE:
NEW_ENTRY:

FILE_CONTENT: 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
[ KEMBALI ]