文件操作 - friendly-recovery.service
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/systemd/system/friendly-recovery.service
编辑文件内容
[Unit] Description=Recovery mode menu DefaultDependencies=no Conflicts=shutdown.target Wants=systemd-udevd-control.socket systemd-udevd.service systemd-udev-trigger.service basic.target sysinit.target After=systemd-udevd-control.socket systemd-udevd.service systemd-udev-trigger.service basic.target sysinit.target [Service] Type=notify Environment=HOME=/root WorkingDirectory=/root ExecStartPre=-/bin/dmesg --console-off ExecStartPre=-/bin/plymouth quit ExecStart=-/lib/recovery-mode/recovery-menu StandardInput=tty-force StandardOutput=inherit StandardError=inherit KillMode=process IgnoreSIGPIPE=no SendSIGHUP=yes
修改文件时间
将文件时间修改为当前时间的前一年
删除文件