base-files: add mmc_get_mac_ascii function
authorDaniel Golle <daniel@makrotopia.org>
Fri, 17 Nov 2023 00:02:05 +0000 (00:02 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 9 Dec 2023 22:47:10 +0000 (22:47 +0000)
commit45c85c1827d45f8041b8f270d80bf6fff328069c
treec63eed2710bafa45a4987d4a6aa7b0561554b517
parent0a51f131455be5861b4390f54d2235b703b97c89
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>
package/base-files/files/lib/functions/system.sh