[PATCH] iscsi_firmware manpage fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Seems iscsi_firmware means rd.iscsi.firmware=1, so the manpage should be wrong

Also add '-d' in parse-iscsi script since it's depracated. 

Signed-off-by: Dave Young <dyoung@xxxxxxxxxx>
---
 dracut.cmdline.7.asc                 |    2 +-
 modules.d/95iscsi/parse-iscsiroot.sh |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- dracut.orig/dracut.cmdline.7.asc
+++ dracut/dracut.cmdline.7.asc
@@ -972,7 +972,7 @@ iscsi_in_username:: rd.iscsi.in.username
 
 iscsi_in_password:: rd.iscsi.in.password
 
-iscsi_firmware:: rd.iscsi.firmware=0
+iscsi_firmware:: rd.iscsi.firmware=1
 
 rd_NO_PLYMOUTH:: rd.plymouth=0
 
--- dracut.orig/modules.d/95iscsi/parse-iscsiroot.sh
+++ dracut/modules.d/95iscsi/parse-iscsiroot.sh
@@ -20,7 +20,7 @@ if [ -z "$netroot" ]; then
     [ "${netroot%%:*}" = "iscsi" ] || unset netroot
 fi
 [ -z "$iscsiroot" ] && iscsiroot=$(getarg iscsiroot=)
-[ -z "$iscsi_firmware" ] && getargbool 0 rd.iscsi.firmware -y iscsi_firmware && iscsi_firmware="1"
+[ -z "$iscsi_firmware" ] && getargbool 0 rd.iscsi.firmware -d -y iscsi_firmware && iscsi_firmware="1"
 
 [ -n "$iscsiroot" ] && [ -n "$iscsi_firmware" ] && die "Mixing iscsiroot and iscsi_firmware is dangerous"
 
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux