openwrt/package/base-files/files/lib
Adrian Schmutzler 28d3afc8d6 base-files: use get_mac_binary() in mtd_get_mac_binary_ubi()
The actual retrieval of the MAC address in mtd_get_mac_binary_ubi()
is the same as in get_mac_binary(). Thus, use the latter function
in the former to reduce duplicate code.

This will also allow to benefit from the enhanced path check there
and bring mtd_get_mac_binary_ubi() more in line with the similar
mtd_get_mac_binary().

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 45600124fc)
2019-09-29 11:32:05 +02:00
..
functions base-files: use get_mac_binary() in mtd_get_mac_binary_ubi() 2019-09-29 11:32:05 +02:00
preinit base-files: move urandom seed bits into separate package 2019-07-22 09:53:01 +02:00
upgrade treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup 2019-09-16 05:57:08 +02:00
functions.sh base-files: apply new sysctl.conf at postinst 2019-09-04 13:18:19 +02:00