mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-17 17:01:44 +04:00
ramips: e390ax: remove redundant 02_network MACs
These are already specified in DTS. Only thing missing is label-mac-device. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/19806 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
committed by
Hauke Mehrtens
parent
75c4d43975
commit
f5655704a7
@@ -51,6 +51,7 @@
|
||||
led-failsafe = &led_status_red;
|
||||
led-running = &led_status_blue;
|
||||
led-upgrade = &led_status_red;
|
||||
label-mac-device = &gmac0;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -242,11 +242,6 @@ ramips_setup_macs()
|
||||
lan_mac=$wan_mac
|
||||
label_mac=$wan_mac
|
||||
;;
|
||||
comfast,cf-e390ax)
|
||||
lan_mac=$(cat /sys/class/net/eth0/address)
|
||||
label_mac=$lan_mac
|
||||
wan_mac=$(macaddr_add "$lan_mac" 1)
|
||||
;;
|
||||
dlink,covr-x1860-a1)
|
||||
label_mac=$(mtd_get_mac_ascii config2 factory_mac)
|
||||
wan_mac=$(macaddr_add "$label_mac" 3)
|
||||
|
||||
Reference in New Issue
Block a user