Revert "lantiq: Use correct macaddr generating logic for the DGN3500"
authorFelix Fietkau <nbd@nbd.name>
Wed, 15 Jun 2016 16:40:12 +0000 (18:40 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 15 Jun 2016 16:40:48 +0000 (18:40 +0200)
This reverts commit 492964e741f1e0254b6ed7c0a095551a31d25dc9, which
makes no sense. /etc/board.d cannot be used for system init stuff.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/lantiq/base-files/etc/board.d/02_network

index 431cc9a2cc61a5b12a3af55d69930c13cf133374..cafcb0e00972829329e52d75fb86bb48df071dd9 100755 (executable)
@@ -67,11 +67,6 @@ ARV4518PWR01*)
         ;;
 
 DGN3500*)
-       eth0_mac=$(mtd_get_mac_ascii uboot-env ethaddr)
-       nas0_mac=$(macaddr_add "$eth0_mac" 1)
-       ifconfig eth0 hw ether "$eth0_mac"
-       ifconfig wlan0 hw ether "$eth0_mac"
-       esi $(echo "$nas0_mac" | tr -d :)
        ucidef_add_switch "switch0" \
                "3:lan:1" "2:lan:2" "1:lan:3" "0:lan:4" "5t@eth0"
        ;;