aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2016-06-24 16:48:16 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-24 16:48:16 +0200
commite8d29847daba240ebbbd14d8b76259d538d2c2c2 (patch)
tree57bba8d73c9e797589bb34df850d16581a347067 /target/linux/lantiq
parentae35aeb34d7c00dca4e0a7f881deb47350279d94 (diff)
downloadmaster-187ad058-e8d29847daba240ebbbd14d8b76259d538d2c2c2.tar.gz
master-187ad058-e8d29847daba240ebbbd14d8b76259d538d2c2c2.tar.bz2
master-187ad058-e8d29847daba240ebbbd14d8b76259d538d2c2c2.zip
Revert "lantiq: Use correct macaddr generating logic for the DGN3500"
This reverts commit edb6897598b56f8390e0aef4bfe4b6530d5aca5c. /etc/board.d cannot be used for system init stuff. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/lantiq')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/board.d/02_network5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/linux/lantiq/base-files/etc/board.d/02_network b/target/linux/lantiq/base-files/etc/board.d/02_network
index 431cc9a2cc..cafcb0e009 100755
--- a/target/linux/lantiq/base-files/etc/board.d/02_network
+++ b/target/linux/lantiq/base-files/etc/board.d/02_network
@@ -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"
;;