Re: [PATCH 1/3] Handle upper case MAC addresses in ifname option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2011-12-27 at 09:08 +1100, Anton Blanchard wrote:
> --- dracut.orig/modules.d/40network/parse-ifname.sh	2011-12-27 09:01:08.000000000 +1100
> +++ dracut/modules.d/40network/parse-ifname.sh	2011-12-27 09:02:05.420745541 +1100
> @@ -25,7 +25,8 @@ parse_ifname_opts() {
>      case $# in
>          7)
>              ifname_if=$1
> -            ifname_mac=$2:$3:$4:$5:$6:$7
> +            # udev requires MAC addresses to be lower case
> +            ifname_mac=`echo $2:$3:$4:$5:$6:$7 | tr '[:upper:]' '[:lower:]'`

Admittedly, I've not checked the latest git version, but dracut doesn't
install 'tr' to the initramfs, at least not in RHEL 6.

Dave

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux