]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
iscsi: remove last iscsid code snippet
authorHarald Hoyer <harald@redhat.com>
Fri, 12 Jan 2018 12:45:20 +0000 (13:45 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 12 Jan 2018 12:45:20 +0000 (13:45 +0100)
modules.d/95iscsi/iscsiroot.sh

index d6325f7d63fcc33360ebda2d9b16caa3554c13b1..f7c99a603b1aa04ca3ece44a2d8e8e3d9d38f82e 100755 (executable)
@@ -219,14 +219,6 @@ if [ "$netif" != "timeout" ] && getargbool 1 rd.iscsi.waitnet; then
     all_ifaces_setup || exit 0
 fi
 
-if [ "$netif" = "timeout" ] && all_ifaces_setup; then
-    # s.th. went wrong and the timeout script hits
-    # restart
-    systemctl restart iscsid
-    # damn iscsid is not ready after unit says it's ready
-    sleep 2
-fi
-
 if getargbool 0 rd.iscsi.firmware -d -y iscsi_firmware ; then
     if [ "$netif" = "timeout" ] || [ "$netif" = "online" ]; then
         handle_firmware