openwrt-redmi-ax3000/package/base-files/files/lib/functions
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
..
caldata.sh
leds.sh
migrations.sh
network.sh
preinit.sh
service.sh
system.sh base-files: rework mtd_get_mac_text() 2023-01-06 15:34:07 +01:00
uci-defaults.sh base-files: add helper functions for adding wlan device entries to board.json 2022-10-14 13:12:30 +02:00