From: Martin Wilck Date: Fri, 16 Sep 2022 22:40:49 +0000 (+0200) Subject: fix(nvmf): don't create did-setup file X-Git-Tag: 058~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03921ec09e95ea49f89ae307dcca4e2e3d1bc6d6;p=thirdparty%2Fdracut.git fix(nvmf): don't create did-setup file did-setup files are meant to indicate that an interface setup was successful. Don't do it here. --- diff --git a/modules.d/95nvmf/parse-nvmf-boot-connections.sh b/modules.d/95nvmf/parse-nvmf-boot-connections.sh index cfed5ae56..1cdaba69a 100755 --- a/modules.d/95nvmf/parse-nvmf-boot-connections.sh +++ b/modules.d/95nvmf/parse-nvmf-boot-connections.sh @@ -102,9 +102,6 @@ done if [ -f "/etc/nvme/discovery.conf" ]; then /sbin/initqueue --settled --onetime --unique --name nvme-discover /usr/sbin/nvme connect-all - if [ "$trtype" = "tcp" ]; then - : > /tmp/net."$ifname".did-setup - fi else # No nvme command line arguments present, try autodiscovery if [ "$trtype" = "fc" ]; then