immortalwrt/package/base-files/files/lib/functions
Adrian Schmutzler ba5180c747 base-files: add function to retrieve label MAC address
To refer to the MAC address on a device's label, one can
specify the alias label-mac-device in the DTS which should
point to the bearer of the corresponding MAC address.

With the function get_mac_label, the user can retrieve then
retrieve this address and use it as a value that uniquely
identifies his device.

This is severely helpful for several downstream functionalities,
e.g. define MAC addresses of custom netifs or change the SSID to
be easily recognizable.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-10-13 18:52:00 +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: add function to retrieve label MAC address 2020-10-13 18:52:00 +08:00
uci-defaults.sh base-files: fix LED IDE trigger 2020-10-13 18:35:44 +08:00