openwrt/package/base-files/files/lib/functions
Adrian Schmutzler 469e347f19 base-files: provide option to specify label MAC address in board.d
For many devices, MAC addresses cannot be retrieved via the
device tree alias.

To still provide the label MAC address for those, this implements
a second mechanism that will put the address into uci config.
Note that this stores the actual MAC address, whereas in DTS
we reference the bearing device.

This is based on the work of Rosy Song <rosysong@rosinson.com>

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-09-19 23:43:27 +02:00
..
leds.sh base-files: get_dt_led: don't warn about missing led 2018-04-04 09:12:39 +02:00
migrations.sh base-files: add leds migration 2019-04-06 19:14:05 +02:00
network.sh base-files: add network_get_uptime() to /lib/functions/network.sh 2019-06-29 21:00:58 +02:00
preinit.sh base-files: fix ramoverlay function with kernels 3.18+ 2015-09-21 17:41:07 +00:00
service.sh base-files: remove function service_kill 2014-06-02 12:43:10 +00:00
system.sh base-files: provide option to specify label MAC address in board.d 2019-09-19 23:43:27 +02:00
uci-defaults.sh base-files: provide option to specify label MAC address in board.d 2019-09-19 23:43:27 +02:00