From 0907ba07c373dbc5617257baee8d4dca472ec581 Mon Sep 17 00:00:00 2001 From: Mikhail Chusavitin Date: Fri, 6 Mar 2026 19:49:35 +0300 Subject: [PATCH] debug iso: add menu command to relaunch tui --- iso/overlay-debug/etc/profile.d/bee.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/iso/overlay-debug/etc/profile.d/bee.sh b/iso/overlay-debug/etc/profile.d/bee.sh index 3f67a2c..e50991e 100644 --- a/iso/overlay-debug/etc/profile.d/bee.sh +++ b/iso/overlay-debug/etc/profile.d/bee.sh @@ -1,5 +1,14 @@ export PATH="$PATH:/usr/local/bin" +menu() { + if [ -x /usr/local/bin/bee-tui ]; then + /usr/local/bin/bee-tui "$@" + else + echo "bee-tui is not installed" + return 1 + fi +} + # Auto-open TUI on local tty1 after boot. # Exiting TUI returns to this shell (console prompt). if [ -z "${BEE_TUI_AUTO_LAUNCHED:-}" ] \