On 2020-03-14 01:11, Adrian Schmutzler wrote:
While find_mtd_index() and find_mtd_part() are located in
/lib/functions.sh, find_mtd_chardev() has been located in
/lib/functions/system.sh.
Move the latter to the former file to keep similar functions
together.
Umm, what about mtd_get_part_size()? It also seems more related to mtd
rather than macaddr.
While at it, fix some corresponding includes.
Signed-off-by: Adrian Schmutzler <[email protected]>
---
package/base-files/Makefile | 2 +-
package/base-files/files/lib/functions.sh | 8 ++++++++
package/base-files/files/lib/functions/system.sh | 8 --------
.../ath79/base-files/lib/functions/mikrotik-caldata.sh | 2 ++
.../linux/lantiq/xrx200/base-files/etc/board.d/02_network | 1 +
5 files changed, 12 insertions(+), 9 deletions(-)
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel