librelad 1ed42c7645 fix(validate): only judge configs/ files that are actually sourced
validateSystemConfiguration ran `bash -n` over every file two levels deep
under configs/, so a data file in a directory with no .category marker was
reported as "does not parse as shell" — a configuration problem about a file
nothing executes, pointing whoever read it at the wrong thing.

Apply the same rule the loader uses: a file in a SUBDIRECTORY is judged only
when that directory carries .category. Files directly in configs/ are checked
as before.

No behaviour change for any real config — every category (webui, general,
security, backup, network) carries the marker.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-29 02:35:19 +01:00
..