openwrt-mirror/package/base-files/files/lib/functions
Shiji Yang 3410ad2f40 base-files: enable get_mac_ascii() to handle redundant strings
The function get_mac_ascii() will fail when there are two or more
same MAC address variable names in the mtd partition. Only retain
the first variable to workaround this rare situation.

Fixes: https://github.com/openwrt/openwrt/issues/17236
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/17262
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-01-04 16:20:46 +01:00
..
caldata.sh base-files: Add new functions for ath11k caldata 2024-04-23 22:35:57 +02:00
ipv4.sh base-files: ipcalc.sh: Add tests for unroutable, etc 2023-12-12 12:30:35 -07:00
leds.sh base-files: support parse DT LED color and function 2023-12-02 19:46:14 +01:00
migrations.sh treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
network.sh base-files: add support for retrieving IPv6 assignments 2023-02-24 23:56:36 +01:00
preinit.sh treewide: drop shebang from non-executable lib files 2021-01-29 14:29:41 +01:00
service.sh base-files: remove function service_kill 2014-06-02 12:43:10 +00:00
system.sh base-files: enable get_mac_ascii() to handle redundant strings 2025-01-04 16:20:46 +01:00
uci-defaults.sh base-files: add ucidef_set_network_device_path_port function 2024-10-19 19:10:56 +02:00