base-files: add mmc_get_mac_ascii function
authorDaniel Golle <daniel@makrotopia.org>
Fri, 17 Nov 2023 00:02:05 +0000 (00:02 +0000)
committerRafał Miłecki <rafal@milecki.pl>
Tue, 2 Jul 2024 07:05:52 +0000 (09:05 +0200)
commit4058d0e99060ed944895707a8b55c30f279e0e72
tree8f88ded2a22849d660ce072ade2fbc6696b6b209
parent46aa8c77327011ee44ae33a533b941827dd27e20
base-files: add mmc_get_mac_ascii function

Similar to the *_get_mac_binary function, also split the common parts
off mtd_get_mac_ascii into new get_mac_ascii function and introduce
mmc_get_mac_ascii which uses it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 45c85c1827d45f8041b8f270d80bf6fff328069c)
package/base-files/files/lib/functions/system.sh