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

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