aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-06-15 18:40:12 +0200
committerFelix Fietkau <nbd@nbd.name>2016-06-15 18:40:48 +0200
commita285f1895b9c28c7e634608948e40b7d19be03a8 (patch)
tree8edf8e3bd51db0a1ef8b5bb4e6a9cc249f3259ff /target
parent70bb22037a16b369b68eff3780c9f2905fd61e17 (diff)
downloadupstream-a285f1895b9c28c7e634608948e40b7d19be03a8.tar.gz
upstream-a285f1895b9c28c7e634608948e40b7d19be03a8.tar.bz2
upstream-a285f1895b9c28c7e634608948e40b7d19be03a8.zip
Revert "lantiq: Use correct macaddr generating logic for the DGN3500"
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>
Diffstat (limited to 'target')
-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"
;;