export PATH="$PATH:/usr/local/bin" # Auto-open TUI on local tty1 after boot. # Exiting TUI returns to this shell (console prompt). if [ -z "${BEE_TUI_AUTO_LAUNCHED:-}" ] \ && [ -z "${SSH_CONNECTION:-}" ] \ && [ -z "${SSH_TTY:-}" ] \ && [ "$(tty 2>/dev/null)" = "/dev/tty1" ] \ && [ -x /usr/local/bin/bee-tui ]; then export BEE_TUI_AUTO_LAUNCHED=1 /usr/local/bin/bee-tui fi