setup: Remove tampering with MAC addresses

There are NICs with 06: and we cannot simply replace the
first byte of the address.

I have no idea why this hack is needed and I believe we
do not need it at all.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2020-09-27 11:19:56 +00:00
parent e06d8de976
commit 9e09e1c47b

View File

@@ -84,7 +84,4 @@ for card in `ls /sys/class/net`; do
fi
done
# Revert Accesspoint marking at mac address
sed -i 's|hwaddr: 06:|hwaddr: 00:|g' /var/ipfire/ethernet/scanned_nics
exit 0