base-files: add function to get mac as text from flash
authorMathias Kresin <dev@kresin.me>
Sat, 11 Aug 2018 08:10:21 +0000 (10:10 +0200)
committerMathias Kresin <dev@kresin.me>
Sat, 11 Aug 2018 19:36:27 +0000 (21:36 +0200)
commitdfee452713e6b3c10aafc6174f8087a920b54402
tree2bc1ca25e2331f4cc144648e8c53fbca16732bd0
parentec28d2797c1bff4a3a97e54fee648cc56185839a
base-files: add function to get mac as text from flash

Add a function to get a mac stored as text from flash. The octets of
the mac address need to be separated by any separator supported by
macaddr_canonicalize().

Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
Signed-off-by: Mathias Kresin <dev@kresin.me>
package/base-files/files/lib/functions/system.sh