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)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 10:01:56 +0000 (11:01 +0100)
commitd93bd72a9806e771f2d0d0578c610ac8bd4e45a0
tree8816ed2f95abcd97e01a9b529fe400b4cec1ac40
parent54278dfa69380cb84dce12438fd7057ca0634d85
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>
(backported from dfee452713e6b3c10aafc6174f8087a920b54402)
package/base-files/files/lib/functions/system.sh