????

Your IP : 18.226.214.1


Current Path : /proc/self/root/lib/systemd/system-shutdown/
Upload File :
Current File : //proc/self/root/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 filesysten
if ! /usr/bin/fwupdtool activate; then
        ret=$?
        [ "$ret" -eq "2" ] && exit 0
        exit $ret
fi