From: Lubomir Rintel Date: Thu, 30 Aug 2018 16:41:37 +0000 (+0200) Subject: iscsi: start iscsid even w/o systemd X-Git-Tag: 049~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aa2e5f7280a0f88d5f8d69dd9467e7b81d6a231;p=thirdparty%2Fdracut.git iscsi: start iscsid even w/o systemd --- diff --git a/modules.d/95iscsi/iscsiroot.sh b/modules.d/95iscsi/iscsiroot.sh index 76c8b3fea..4efc1d129 100755 --- a/modules.d/95iscsi/iscsiroot.sh +++ b/modules.d/95iscsi/iscsiroot.sh @@ -194,6 +194,12 @@ handle_netroot() sleep 1 fi fi + + if [ -z "$DRACUT_SYSTEMD" ]; then + iscsid + sleep 2 + fi + # FIXME $iscsi_protocol?? if [ "$root" = "dhcp" ] || [ "$netroot" = "dhcp" ]; then