Blame SOURCES/0220-cms-cmssetup.sh-understand-DASD-none.patch

a56a5e
From b44b3ed0363e138117f3b16565e4d8b79eeb76c8 Mon Sep 17 00:00:00 2001
a56a5e
From: Harald Hoyer <harald@redhat.com>
a56a5e
Date: Fri, 12 Sep 2014 09:59:03 +0200
a56a5e
Subject: [PATCH] cms/cmssetup.sh: understand DASD="none"
a56a5e
a56a5e
Treat DASD="none" as unset.
a56a5e
a56a5e
https://bugzilla.redhat.com/show_bug.cgi?id=1096979
a56a5e
(cherry picked from commit 2f954621ccde0bc9160cd90142865e7586e25b00)
a56a5e
---
a56a5e
 modules.d/80cms/cmssetup.sh | 2 +-
a56a5e
 1 file changed, 1 insertion(+), 1 deletion(-)
a56a5e
a56a5e
diff --git a/modules.d/80cms/cmssetup.sh b/modules.d/80cms/cmssetup.sh
a56a5e
index 7dd481b..6259ff4 100755
a56a5e
--- a/modules.d/80cms/cmssetup.sh
a56a5e
+++ b/modules.d/80cms/cmssetup.sh
a56a5e
@@ -175,7 +175,7 @@ processcmsfile()
a56a5e
         znet_cio_free
a56a5e
     fi
a56a5e
 
a56a5e
-    if [[ $DASD ]]; then
a56a5e
+    if [[ $DASD ]] && [[ $DASD != "none" ]]; then
a56a5e
         echo $DASD | normalize_dasd_arg > /etc/dasd.conf
a56a5e
         echo "options dasd_mod dasd=$DASD" > /etc/modprobe.d/dasd_mod.conf
a56a5e
         dasd_cio_free