base-files: add function to get binary mac from file
authorMathias Kresin <dev@kresin.me>
Fri, 26 Jan 2018 21:54:06 +0000 (22:54 +0100)
committerMathias Kresin <dev@kresin.me>
Wed, 14 Mar 2018 18:04:52 +0000 (19:04 +0100)
commit64fef8f90172cf35f9ce878390b6535f482d327b
treef6945628ff82560e7c1a03ae77f5ec8186e15784
parent87c42101cfb001b4bd418d1201fa4d8c822dc77b
base-files: add function to get binary mac from file

Add a fucntion to get the a binary mac address from file. Use the new
function for mtd_get_mac_binary() to limit duplicate code.

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