#!/bin/sh # no history database exists [ -f /var/lib/fwupd/pending.db ] || exit 0 # activate firmware when we have a read-only filesysten /usr/bin/fwupdtool activate