Blame 0022-cms-cmssetup.sh-convert-SUBCHANNELS-to-lowercase.patch

Zbigniew Jędrzejewski-Szmek 7f4a44
From 2bdc384b77d0a06227e8a893fbbd4f47d413d421 Mon Sep 17 00:00:00 2001
Zbigniew Jędrzejewski-Szmek 7f4a44
From: Harald Hoyer <harald@redhat.com>
Zbigniew Jędrzejewski-Szmek 7f4a44
Date: Mon, 12 May 2014 14:36:08 +0200
Zbigniew Jędrzejewski-Szmek 7f4a44
Subject: [PATCH] cms/cmssetup.sh: convert SUBCHANNELS to lowercase
Zbigniew Jędrzejewski-Szmek 7f4a44
Zbigniew Jędrzejewski-Szmek 7f4a44
In udev rules, the channels need to be expressed in lower case.
Zbigniew Jędrzejewski-Szmek 7f4a44
---
Zbigniew Jędrzejewski-Szmek 7f4a44
 modules.d/80cms/cmssetup.sh | 1 +
Zbigniew Jędrzejewski-Szmek 7f4a44
 1 file changed, 1 insertion(+)
Zbigniew Jędrzejewski-Szmek 7f4a44
Zbigniew Jędrzejewski-Szmek 7f4a44
diff --git a/modules.d/80cms/cmssetup.sh b/modules.d/80cms/cmssetup.sh
Zbigniew Jędrzejewski-Szmek 7f4a44
index 36955bc3b4..c9e1331466 100755
Zbigniew Jędrzejewski-Szmek 7f4a44
--- a/modules.d/80cms/cmssetup.sh
Zbigniew Jędrzejewski-Szmek 7f4a44
+++ b/modules.d/80cms/cmssetup.sh
Zbigniew Jędrzejewski-Szmek 7f4a44
@@ -144,6 +144,7 @@ function dasd_settle_all() {
Zbigniew Jędrzejewski-Szmek 7f4a44
     processcmsfile()
Zbigniew Jędrzejewski-Szmek 7f4a44
     {
Zbigniew Jędrzejewski-Szmek 7f4a44
         source /tmp/cms.conf
Zbigniew Jędrzejewski-Szmek 7f4a44
+        SUBCHANNELS="$(echo $SUBCHANNELS | sed 'y/ABCDEF/abcdef/')"
Zbigniew Jędrzejewski-Szmek 7f4a44
 
Zbigniew Jędrzejewski-Szmek 7f4a44
         if [[ $NETTYPE ]]; then
Zbigniew Jędrzejewski-Szmek 7f4a44
 	    (
Zbigniew Jędrzejewski-Szmek 7f4a44
-- 
Zbigniew Jędrzejewski-Szmek 7f4a44
1.9.3
Zbigniew Jędrzejewski-Szmek 7f4a44