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