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 15:09:27 +0000 (16:09 +0100)
commit8a11563b06553118abb870461e07f47368666feb
treeaa6831e67ab276be5856465957b0301626fc08cd
parentb01b9244b4bf9e95633e706a16a0fd8c309fcadf
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