openwrt/package/base-files/files
Michael Pratt 1e3a8f454e base-files: rework mtd_get_mac_text()
It's necessary to be able to specify the length
for MAC addresses that are stored in flash, for example,
in a case where it is stored without any delimiter.

Let both offset and length have default values.

Add a sanity check related to partition size.

Also, clean up syntax and unnecessary lines.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
2023-01-06 15:34:07 +01:00
..
bin base-files: add protocol qmi/mbim support for ucidef_set_interface() 2022-10-18 15:09:23 +02:00
etc base-files: LED/trigger/heartbeat: Add support for inversion 2022-08-06 19:58:46 +02:00
lib base-files: rework mtd_get_mac_text() 2023-01-06 15:34:07 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: wifi: for wifi reconf, scan_wifi after network reload 2022-10-25 09:24:37 +02:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00