✏️ 正在编辑: fwupd.shutdown
路径:
/usr/lib/systemd/system-shutdown/fwupd.shutdown
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
#!/usr/bin/sh # no history database exists [ -f /var/lib/fwupd/pending.db ] || exit 0 # activate firmware when we have a read-only filesystem if ! /usr/bin/fwupdtool activate; then ret=$? [ "$ret" -eq "2" ] && exit 0 exit $ret fi
💾 保存文件
← 返回文件管理器