文件操作 - nvmf-autoconnect.service
返回文件管理
返回主菜单
删除本文件
文件: /lib/systemd/system/nvmf-autoconnect.service
编辑文件内容
[Unit] Description=Connect NVMe-oF subsystems automatically during boot ConditionPathExists=/etc/nvme/discovery.conf After=network-online.target Before=remote-fs-pre.target [Service] Type=oneshot ExecStartPre=/sbin/modprobe nvme-fabrics ExecStart=/usr/sbin/nvme connect-all [Install] WantedBy=default.target
修改文件时间
将文件时间修改为当前时间的前一年
删除文件