Controller: add help.sh to the Maintenance Scripts.

A new wrolpi-help-script.service oneshot runs /opt/wrolpi/help.sh so the
Controller UI can run system diagnostics and show the output from the
journal.  The confirmation modal hides the warnings block for scripts
with no warnings.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Roland 2026-07-09 15:29:01 -06:00 • committed by lrnselfreliance
parent d6b019c24e
commit e42e4ed06e
4 changed files with 29 additions and 1 deletions

View file

@ -2070,6 +2070,7 @@
const warningsList = document.getElementById('script-warnings-list');
warningsList.innerHTML = script.warnings.map(w => `<li>${w}</li>`).join('');
document.getElementById('script-confirm-warnings').style.display = script.warnings.length ? '' : 'none';
// Generate parameter inputs dynamically
const paramsContainer = document.getElementById('script-params-container');