Make toram default and add install-to-ram CLI

This commit is contained in:
2026-05-03 14:07:47 +03:00
parent 58d6da0e4f
commit 0e39e7d960
8 changed files with 217 additions and 19 deletions

View File

@@ -431,7 +431,7 @@ fetch('/api/system/ram-status').then(r=>r.json()).then(d=>{
else if (kind === 'disk') label = 'disk (' + source + ')';
else label = source;
boot.textContent = 'Current boot source: ' + label + '.';
txt.textContent = d.message || 'Checking...';
txt.textContent = d.blocked_reason || d.message || 'Checking...';
if (d.status === 'ok' || d.in_ram) {
txt.style.color = 'var(--ok, green)';
} else if (d.status === 'failed') {