From: Harald Hoyer Date: Wed, 11 Jun 2014 12:58:55 +0000 (+0200) Subject: iscsi: correctly install the settled iscsiroot dummy call X-Git-Tag: RHEL-7.1~59 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98b104e88799ad461d9322faaee4c831d35c96c4;p=thirdparty%2Fdracut.git iscsi: correctly install the settled iscsiroot dummy call initqueue parses $1 as the executable command (cherry picked from commit bb8c16d12178373f17553294603ff5187e318b51) --- diff --git a/modules.d/95iscsi/parse-iscsiroot.sh b/modules.d/95iscsi/parse-iscsiroot.sh index 52a4805a5..b48be3877 100755 --- a/modules.d/95iscsi/parse-iscsiroot.sh +++ b/modules.d/95iscsi/parse-iscsiroot.sh @@ -88,7 +88,7 @@ fi if [ -n "$netroot" ] && [ "$root" != "/dev/root" ] && [ "$root" != "dhcp" ]; then if ! getargbool 1 rd.neednet >/dev/null || ! getarg "ip="; then - initqueue --onetime --settled "/sbin/iscsiroot dummy '$netroot' '$NEWROOT'" + initqueue --onetime --settled /sbin/iscsiroot dummy "'$netroot'" "'$NEWROOT'" fi fi