openwrt/package/base-files/files
Rosy Song 6170c46b47 base-files: rename hostname with EUI of mac address
If a label MAC address is provided for device, system
will rename the hostname with OpenWrt_{eui mac address}.
This helps to distinguish between different devices.

Since it's no good idea to nest json_* functions, this code does
not use get_mac_label directly, but only get_mac_label_dt as
external resource.

Signed-off-by: Rosy Song <rosysong@rosinson.com>
[merged with commit introducing macaddr_geteui, rebased on updated
label MAC address storage, extended commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-11-07 17:13:18 +01:00
..
bin base-files: rename hostname with EUI of mac address 2019-11-07 17:13:18 +01:00
etc base-files: coreutil-date breaks setting kernel timezone 2019-10-12 23:43:08 +02:00
lib base-files: rename hostname with EUI of mac address 2019-11-07 17:13:18 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: hotplug-call: exit success when dir is absent 2019-10-29 13:28:49 +00:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00