blob: 8f32f7af66ac7ded326a01a154a0e6132283090d [file] [log] [blame]
#!/bin/sh
# no history database exists
[ -f @localstatedir@/lib/fwupd/pending.db ] || exit 0
# activate firmware when we have a read-only filesystem
if ! @bindir@/fwupdtool activate; then
ret=$?
[ "$ret" -eq "2" ] && exit 0
exit $ret
fi