]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/udev/network-hotplug-rename
udev: Rename interfaces when MACs are uppercase
[ipfire-2.x.git] / config / udev / network-hotplug-rename
index 3a482d2dbff99615556bb7630f6b031b2918048c..71a25c317d64989e1728ffbb268ac5b5f5eec135 100644 (file)
@@ -63,7 +63,7 @@ for zone in ${ZONES}; do
        [ -n "${!address}" -a -n "${!device}" ] || continue
 
        # Compare MAC addresses
-       [ "${ADDRESS}" = "${!address}" ] || continue
+       [ "${ADDRESS}" = "${!address,,}" ] || continue
 
        # If a matching interface has been found we will
        # print the name to which udev will rename it.