diff options
author | Vittorio Gambaletta (VittGam) <openwrt@vittgam.net> | 2016-05-06 05:23:43 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-05-11 17:06:54 +0200 |
commit | 40f933d7ffd2256ea44e3fa5a3202a0437426438 (patch) | |
tree | c63e743bbc68bf1b266a9f0e0eb646b16e134f9b /package/base-files/files/etc/uci-defaults/11_migrate-sysctl | |
parent | a3531f1986d33eeff12175c804ebf7f62a9a8675 (diff) | |
download | upstream-40f933d7ffd2256ea44e3fa5a3202a0437426438.tar.gz upstream-40f933d7ffd2256ea44e3fa5a3202a0437426438.tar.bz2 upstream-40f933d7ffd2256ea44e3fa5a3202a0437426438.zip |
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: Vittorio Gambaletta <openwrt@vittgam.net>
Diffstat (limited to 'package/base-files/files/etc/uci-defaults/11_migrate-sysctl')
0 files changed, 0 insertions, 0 deletions