Warning: Cannot modify header information - headers already sent by (output started at /var/www/jonas-eriksen.dk/pic/private/index.php:1) in /var/www/jonas-eriksen.dk/pic/private/index.php on line 215
#!/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