Skip to content
Snippets Groups Projects
Commit cfac7289 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

base-files: uci-defaults-new: add board id and name helpers


Add ucidef_set_board_id() and ucidef_set_model_name() procedures to store
model information in the board.json file.

Signed-off-by: default avatarJo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47671
parent 06af9660
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,18 @@ _ucidef_set_interface() {
json_select ..
}
ucidef_set_board_id() {
json_select_object model
json_add_string id "$1"
json_select ..
}
ucidef_set_model_name() {
json_select_object model
json_add_string name "$1"
json_select ..
}
ucidef_set_interface_loopback()
{
# stub
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment