The script relied on the configuration being in lowercase.
If people manually editied their configuration file they might
not have paid attention to this and therefore this script now
also accepts uppercase MAC addresses.
Fixes: #12047
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
etc/rc.d/init.d/networking/red.up/23-suricata
etc/rc.d/init.d/suricata
etc/syslog.conf
etc/rc.d/init.d/networking/red.up/23-suricata
etc/rc.d/init.d/suricata
etc/syslog.conf
+lib/udev/network-hotplug-rename
opt/pakfire/etc/pakfire.conf
srv/web/ipfire/cgi-bin/aliases.cgi
srv/web/ipfire/cgi-bin/dnsforward.cgi
opt/pakfire/etc/pakfire.conf
srv/web/ipfire/cgi-bin/aliases.cgi
srv/web/ipfire/cgi-bin/dnsforward.cgi
[ -n "${!address}" -a -n "${!device}" ] || continue
# Compare MAC addresses
[ -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.
# If a matching interface has been found we will
# print the name to which udev will rename it.