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

[PATCH rhel6-branch] Take in change of a binary name (brcm_iscsiuio -> iscsiuio) (#731761)



brcm_iscsuio is symlink to iscsiuio currently.
---
 storage/iscsi.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/storage/iscsi.py b/storage/iscsi.py
index 07d99ac..a4bbf46 100644
--- a/storage/iscsi.py
+++ b/storage/iscsi.py
@@ -224,10 +224,10 @@ class iscsi(object):
         iutil.execWithRedirect('modprobe', ['-a'] + ISCSI_MODULES,
                                stdout="/dev/tty5", stderr="/dev/tty5")
         # this is needed by Broadcom offload cards (bnx2i)
-        brcm_iscsiuio = iutil.find_program_in_path('brcm_iscsiuio',
+        iscsiuio = iutil.find_program_in_path('iscsiuio',
                                                    raise_on_error=True)
-        log.debug("iscsi: brcm_iscsiuio is at %s" % brcm_iscsiuio)
-        iutil.execWithRedirect(brcm_iscsiuio, [],
+        log.debug("iscsi: iscsiuio is at %s" % iscsiuio)
+        iutil.execWithRedirect(iscsiuio, [],
                                stdout="/dev/tty5", stderr="/dev/tty5")
         # run the daemon
         iutil.execWithRedirect(ISCSID, [],
-- 
1.7.4


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