D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
lib
/
systemd
/
system-shutdown
/
Filename :
fwupd.shutdown
back
Copy
#!/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