文件操作 - selinux-autorelabel-mark.service
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/systemd/system/selinux-autorelabel-mark.service
编辑文件内容
[Unit] Description=Mark the need to relabel after reboot DefaultDependencies=no Requires=local-fs.target Conflicts=shutdown.target After=local-fs.target Before=sysinit.target shutdown.target ConditionSecurity=!selinux ConditionPathIsDirectory=/etc/selinux ConditionPathExists=!/.autorelabel [Service] ExecStart=-/bin/touch /.autorelabel Type=oneshot RemainAfterExit=yes [Install] WantedBy=sysinit.target
修改文件时间
将文件时间修改为当前时间的前一年
删除文件