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>
Fri, 17 Nov 2023 02:31:18 +0000 (02:31 +0000)
commit9cfe347339a83fa743ddc7a219bd46a304528501
tree322031e6a0620e93a48ea9460bc7a102b0645624
parent255d5c9bf8430bea8ee342b0132be0787b509634
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