On 06/27/2012 04:03 PM, Anton Blanchard wrote:
Hi,The patch at http://comments.gmane.org/gmane.linux.kernel.initramfs/2244 takes care of only the MAC conversion to lower case in the interface name. But the same has to be taken care for BOOTIF also. This patch takes care of changing the BOOTIF to lower case. Note that sed has been used instead of tr, as dracut does not install tr to the initramfs, atleast on RHEL 6.x.Good to know, could you replace the existing interface MAC conversion with sed too?
Attached a patch to do the same. Regards, Seenu.
Attachment:
convert-mac-to-lower-parse-ifname.sh
Description: application/shellscript