dracut/0025-cms-cms-write-ifcfg.sh-turn-SUBCHANNELS-into-lowerca.patch
Harald Hoyer eeb1c23670 dracut-040-29.git20141204
- git snapshot
2014-12-04 12:31:45 +01:00

22 lines
781 B
Diff

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