Add console tools and bee menu startup

This commit is contained in:
Mikhail Chusavitin
2026-03-14 08:36:38 +03:00
parent f37ef0d844
commit 6082c7953e
2 changed files with 16 additions and 0 deletions

View File

@@ -17,11 +17,14 @@ qemu-guest-agent
openssh-server
# Utilities
bash
procps
lsof
file
less
vim-tiny
mc
htop
sudo
zstd

View File

@@ -0,0 +1,13 @@
export PATH="/usr/local/bin:$PATH"
if [ -z "${SSH_CONNECTION:-}" ] \
&& [ -z "${SSH_TTY:-}" ] \
&& [ "$(tty 2>/dev/null)" = "/dev/tty1" ]; then
if command -v menu >/dev/null 2>&1; then
menu
elif [ -x /usr/local/bin/bee-tui ]; then
/usr/local/bin/bee-tui
else
echo "Bee menu is unavailable."
fi
fi