]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
setup: Remove tampering with MAC addresses
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 27 Sep 2020 11:19:56 +0000 (11:19 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 27 Sep 2020 11:19:56 +0000 (11:19 +0000)
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>
src/setup/probenic.sh

index 6c01cbb45ba7daa20ad4792aa505575709dcfa02..d772dad7ec35cdbaff6deec4caa6972ee3a490c9 100644 (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