base-files: support "metric" in board.json
authorRafał Miłecki <rafal@milecki.pl>
Sat, 3 Sep 2022 12:31:29 +0000 (14:31 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 1 Dec 2022 13:53:20 +0000 (14:53 +0100)
commit83c70346ac89c556b5bda8bcd88b7ee93fed6d7f
tree208508cd736cd9b2e458610b565992fdff1ab967
parent5167bcf2fcece09db37e0bb70e966a1ea503d028
base-files: support "metric" in board.json

It allows prepopulating /etc/config/network interface-s with predefined
metric. It may be useful for devices with multiple WAN ports.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 7f443d2d9aa1170d6b68f0dc6d5b5552882ee327)
package/base-files/files/bin/config_generate