文件操作 - fwupd.shutdown
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/systemd/system-shutdown/fwupd.shutdown
编辑文件内容
#!/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
修改文件时间
将文件时间修改为当前时间的前一年
删除文件