console=tty0 sent kernel messages to the active VT (tty1), overwriting the TUI. Changed to console=tty2 so kernel logs land on a dedicated console. tty1 is now clean; operator can press Alt+F2 to inspect kernel messages and Alt+F3 for an extra shell. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
676 B
Bash
22 lines
676 B
Bash
export PATH="$PATH:/usr/local/bin:/opt/rocm/bin:/opt/rocm/sbin"
|
|
|
|
menu() {
|
|
if [ -x /usr/local/bin/bee-tui ]; then
|
|
/usr/local/bin/bee-tui "$@"
|
|
else
|
|
echo "bee-tui is not installed"
|
|
return 1
|
|
fi
|
|
}
|
|
|
|
# On the local console, keep the shell visible and let the operator
|
|
# start the TUI explicitly. This avoids black-screen failures if the
|
|
# terminal implementation does not support the TUI well.
|
|
if [ -z "${SSH_CONNECTION:-}" ] \
|
|
&& [ -z "${SSH_TTY:-}" ] \
|
|
&& [ "$(tty 2>/dev/null)" = "/dev/tty1" ]; then
|
|
echo "Bee live environment ready."
|
|
echo "Run 'menu' to open the TUI."
|
|
echo "Kernel logs: Alt+F2 | Extra shell: Alt+F3"
|
|
fi
|