mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
Revert "lantiq: Use correct macaddr generating logic for the DGN3500"
This reverts commit 492964e741
, which
makes no sense. /etc/board.d cannot be used for system init stuff.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
70bb22037a
commit
a285f1895b
@ -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"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user