mirror of https://github.com/openwrt/openwrt.git
Add mtd_get_mac_uci_config() for reading a MAC address from a UCI-style config stored in an MTD partition. This is needed to support the TP-Link ER605 v1; the existing UBI helper already covers the ER605 v2. Also refactor common sed logic into a shared helper used by both variants and drop the redundant cat pipe. TP-Link ER605 v2 device support is unaffected. The one and only MAC address on the tddp partition for v1/v2 is the label MAC address. Signed-off-by: Charles Joynson <ctjoynson@gmail.com> Link: https://github.com/openwrt/openwrt/pull/24331 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> |
||
|---|---|---|
| .. | ||
| files | ||
| Makefile | ||
| image-config.in | ||