Skip to content
Snippets Groups Projects
Commit 40f933d7 authored by Vittorio Gambaletta (VittGam)'s avatar Vittorio Gambaletta (VittGam) Committed by Jo-Philipp Wich
Browse files

base-files: Fix config_generate when there are no switch VLANs or ports configured in board.json.


The json_select call fails when there are no roles or ports objects in board.json. "json_select .." must not be executed after failing.

This fixes for example LEDs not being set up in /etc/config/system.

Signed-off-by: default avatarVittorio Gambaletta <openwrt@vittgam.net>
parent a3531f19
No related branches found
No related tags found
No related merge requests found
Loading
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