1
0
Fork 0
nvme-cli/nvmf-autoconnect/systemd/nvmefc-boot-connections.service
Daniel Baumann ac60c09ef6
Adding upstream version 1.12.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-16 11:10:29 +01:00

10 lines
284 B
Desktop File

[Unit]
Description=Auto-connect to subsystems on FC-NVME devices found during boot
ConditionPathExists=/sys/class/fc/fc_udev_device/nvme_discovery
[Service]
Type=oneshot
ExecStart=/bin/sh -c "echo add > /sys/class/fc/fc_udev_device/nvme_discovery"
[Install]
WantedBy=default.target