文件操作 - rhel-configure.service
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/systemd/system/rhel-configure.service
编辑文件内容
[Unit] Description=Reconfigure the system on administrator request DefaultDependencies=no Conflicts=shutdown.target Before=multi-user.target shutdown.target After=local-fs.target ConditionPathExists=/.unconfigured [Service] ExecStart=/usr/lib/systemd/rhel-configure ExecStopPost=/bin/rm -f /.unconfigured Type=oneshot TimeoutSec=0 StandardInput=tty RemainAfterExit=yes [Install] WantedBy=multi-user.target
修改文件时间
将文件时间修改为当前时间的前一年
删除文件