Blame SOURCES/0230-cms-cms-write-ifcfg.sh-turn-SUBCHANNELS-into-lowerca.patch

712866
From b96ce4a6fdd61e5b268772ce5a09fcb2ca45c762 Mon Sep 17 00:00:00 2001
712866
From: Harald Hoyer <harald@redhat.com>
712866
Date: Mon, 1 Dec 2014 15:04:53 +0100
712866
Subject: [PATCH] cms/cms-write-ifcfg.sh: turn SUBCHANNELS into lowercase
712866
712866
(cherry picked from commit 3ae03005b85a702256ead058375c9fab2e53950e)
712866
---
712866
 modules.d/80cms/cms-write-ifcfg.sh | 1 +
712866
 1 file changed, 1 insertion(+)
712866
712866
diff --git a/modules.d/80cms/cms-write-ifcfg.sh b/modules.d/80cms/cms-write-ifcfg.sh
5c6c2a
index c0623a41..78469960 100755
712866
--- a/modules.d/80cms/cms-write-ifcfg.sh
712866
+++ b/modules.d/80cms/cms-write-ifcfg.sh
712866
@@ -9,6 +9,7 @@ mkdir -m 0755 -p /run/initramfs/state/etc/sysconfig/network-scripts
712866
 function cms_write_config()
712866
 {
712866
     . /tmp/cms.conf
712866
+    SUBCHANNELS="$(echo $SUBCHANNELS | sed 'y/ABCDEF/abcdef/')"
712866
     OLDIFS=$IFS
712866
     IFS=,
712866
     read -a subch_array <<< "indexzero,$SUBCHANNELS"