]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
cms/cms-write-ifcfg.sh: turn SUBCHANNELS into lowercase
authorHarald Hoyer <harald@redhat.com>
Mon, 1 Dec 2014 14:04:53 +0000 (15:04 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 13 Jan 2015 11:48:23 +0000 (12:48 +0100)
(cherry picked from commit 3ae03005b85a702256ead058375c9fab2e53950e)

modules.d/80cms/cms-write-ifcfg.sh

index c0623a41be39df8725cee5fc2e9f52515f96a8d6..78469960e751274929a63f45c5e3db8d7fab6f95 100755 (executable)
@@ -9,6 +9,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"