immortalwrt/package/base-files/files/lib/functions
Adrian Schmutzler c1b72b8178 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>
2020-10-13 18:51:31 +08:00
..
leds.sh base-files: diag: restore default trigger for 'boot' LED 2020-10-13 18:26:08 +08:00
migrations.sh lantiq: sync official source code 2020-04-25 18:29:43 +08:00
network.sh base-files: add network_get_uptime() to /lib/functions/network.sh 2020-10-13 18:33:19 +08:00
preinit.sh Revert "base-files: update" 2019-11-24 01:27:26 +08:00
service.sh Revert "base-files: update" 2019-11-24 01:27:26 +08:00
system.sh base-files: use get_mac_binary() in mtd_get_mac_binary_ubi() 2020-10-13 18:51:31 +08:00
uci-defaults.sh base-files: fix LED IDE trigger 2020-10-13 18:35:44 +08:00