mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-23 19:23:49 +00:00
12 lines
262 B
Bash
Executable File
12 lines
262 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# no history database exists
|
|
[ -f @localstatedir@/lib/fwupd/pending.db ] || exit 0
|
|
|
|
# activate firmware when we have a read-only filesysten
|
|
if !@bindir@/fwupdtool activate; then
|
|
ret=$?
|
|
[ "$ret" -eq "2" ] && exit 0
|
|
exit $ret
|
|
fi
|