fix whiptail navigation + add installed-service summary

whiptail fix:
- bootstrap.sh: redirect stdout and stderr to /dev/tty alongside stdin so
  whiptail has full terminal control for raw mode (arrow keys, highlighting)
- setup.sh: run 'stty sane' on /dev/tty before the menu loop to reset any
  stale terminal state from SSH reconnections or prior sessions

Installed-service summary:
- Print a grouped list of all currently-installed services before every
  menu session so the operator knows the current state at a glance

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LQJBvqzXeyuhhAcAA3Q5Wq
This commit is contained in:
Claude
2026-06-28 18:17:26 +00:00
parent 93c373e893
commit a6465404fa
2 changed files with 26 additions and 2 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ if [ -f "${SCRIPT_DIR}/setup.sh" ]; then
&& chown -R "${SUDO_USER:-$(id -un)}:" "$DEST" 2>/dev/null || true
echo ""
fi
exec bash "${SCRIPT_DIR}/setup.sh" </dev/tty
exec bash "${SCRIPT_DIR}/setup.sh" </dev/tty >/dev/tty 2>/dev/tty
fi
# ── Options 1 & 2: clone from GitHub ─────────────────────────────────────────