From: Harald Hoyer Date: Tue, 2 Jun 2009 16:01:52 +0000 (+0200) Subject: preserve the original root= variable X-Git-Tag: 0.1~125 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=87ce134e08b2549e8360d21546c8d5166702fd07;p=thirdparty%2Fdracut-ng.git preserve the original root= variable --- diff --git a/modules.d/95iscsi/iscsiroot b/modules.d/95iscsi/iscsiroot index 2fdc281ed..8e20fda19 100755 --- a/modules.d/95iscsi/iscsiroot +++ b/modules.d/95iscsi/iscsiroot @@ -23,9 +23,9 @@ root="$2" if [ $root = ${root#iscsi:} ]; then - root=$(getarg iscsiroot) + iroot=$(getarg iscsiroot) else - root=${root#iscsi:} + iroot=${root#iscsi:} fi if getarg iscsi_firmware >/dev/null; then @@ -57,7 +57,7 @@ else # override conf/commandline options by dhcp root_path OLDIFS="$IFS" IFS=: - set $root + set $iroot iscsi_target_ip=$1; shift iscsi_protocol=$1; shift # ignored iscsi_target_port=$1; shift