base-files: add mmc_get_mac_ascii function
authorDaniel Golle <daniel@makrotopia.org>
Fri, 17 Nov 2023 00:02:05 +0000 (00:02 +0000)
committerRISCi_ATOM <bob@bobcall.me>
Tue, 9 Jul 2024 16:16:47 +0000 (12:16 -0400)
commit95054ca1f6ce021d73ba765c11e70888cb213379
treef23e6f4b7b65f72904bd54a8cb5b39fcede8c2d9
parent997e0b7393c4549d634726cca2641ce1f9b5fe3d
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