Browse Source

iscsi: correctly install the settled iscsiroot dummy call

initqueue parses $1 as the executable command
master
Harald Hoyer 11 years ago
parent
commit
bb8c16d121
  1. 2
      modules.d/95iscsi/parse-iscsiroot.sh

2
modules.d/95iscsi/parse-iscsiroot.sh

@ -88,7 +88,7 @@ fi


if [ -n "$netroot" ] && [ "$root" != "/dev/root" ] && [ "$root" != "dhcp" ]; then if [ -n "$netroot" ] && [ "$root" != "/dev/root" ] && [ "$root" != "dhcp" ]; then
if ! getargbool 1 rd.neednet >/dev/null || ! getarg "ip="; 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
fi fi



Loading…
Cancel
Save