File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33# For NVMe/TCP connections that provide namespaces containing rootfs
44# it is crucial to react on carrier events and reconnect any missing
55# NVMe/TCP connections as defined in the ACPI NBFT table. A custom
6- # /usr/lib/NetworkManager/ dispatcher.d/99-nvme-nbft-connect.sh hook
6+ # @NETWORKMANAGERDIR@ dispatcher.d/99-nvme-nbft-connect.sh hook
77# will respawn nvmf-connect-nbft.service on such occasion.
88#
99# This file acts as an override to any config directives that disable
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Restart=on-failure
2121RestartSec=10
2222StartLimitIntervalSec=0
2323StartLimitBurst=0
24- ExecStart=/usr/sbin /nvme connect-all --nbft
24+ ExecStart=@SBINDIR@ /nvme connect-all --nbft
2525
2626[Install]
2727WantedBy=sysinit.target
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ Before=systemd-udevd.service
1010
1111[Service]
1212Type=oneshot
13- ExecStartPre=-/usr/ bin/mkdir -p /etc /systemd/network
13+ ExecStartPre=-/bin/mkdir -p @SYSCONFDIR@ /systemd/network
1414# generate udev link files
15- ExecStart=/usr/sbin/ nvme nbft gen-udev-link-files /etc /systemd/network/
15+ ExecStart=@SBINDIR@/ nvme nbft gen-udev-link-files @SYSCONFDIR@ /systemd/network/
1616
1717[Install]
1818WantedBy=sysinit.target
You can’t perform that action at this time.
0 commit comments