mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 18:37:58 +00:00

This is intended for devices that it is not safe to immediately activate the firmware. It may be called at a more convenient time instead. Both fwupdmgr and fwupdtool support the feature. - if called at runtime with fwupdmgr it uses the daemon - during shutdown fwupdtool uses the pending.db to perform this feature.
8 lines
189 B
Bash
Executable File
8 lines
189 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
|
|
@libexecdir@/fwupd/fwupdtool activate
|