文件操作 - initial-setup-reconfiguration.service
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/systemd/system/initial-setup-reconfiguration.service
编辑文件内容
[Unit] Description=Initial Setup reconfiguration mode trigger service After=livesys.service plymouth-quit-wait.service After=systemd-vconsole-setup.service # getty-pre.target is a pasive target, we need to request it before we can use it Wants=getty-pre.target # prevent getty from running on any consoles before we are done Before=getty-pre.target Before=display-manager.service Before=initial-setup.service Conflicts=plymouth-quit-wait.service ConditionKernelCommandLine=!rd.live.image ConditionPathExists=/.unconfigured [Service] Type=oneshot TimeoutSec=0 StandardInput=tty StandardOutput=tty RemainAfterExit=yes # tell systemd to stop logging to the console, to prevent it's messages # with interfering with the Initial Setup TUI potentially running there ExecStartPre=/bin/kill -SIGRTMIN+21 1 ExecStartPre=-/bin/plymouth quit ExecStart=/usr/libexec/initial-setup/reconfiguration-mode-enabled # re-enable systemd console logging once Initial Setup is done ExecStartPost=/bin/kill -SIGRTMIN+20 1 TimeoutSec=0 RemainAfterExit=no [Install] WantedBy=graphical.target WantedBy=multi-user.target
修改文件时间
将文件时间修改为当前时间的前一年
删除文件