Refactor bee CLI and LiveCD integration

This commit is contained in:
Mikhail Chusavitin
2026-03-13 16:52:16 +03:00
parent b7c888edb1
commit 6aca1682b9
47 changed files with 3137 additions and 1201 deletions

View File

@@ -29,7 +29,7 @@ info "kernel: $KVER"
# --- PATH & binaries ---
echo "-- PATH & binaries --"
for tool in dmidecode smartctl nvme ipmitool lspci audit; do
for tool in dmidecode smartctl nvme ipmitool lspci bee; do
if p=$(PATH="/usr/local/bin:$PATH" command -v "$tool" 2>/dev/null); then
ok "$tool found: $p"
else
@@ -114,14 +114,14 @@ for svc in ssh bee-sshsetup; do
done
echo ""
echo "-- audit binary --"
AUDIT=/usr/local/bin/audit
if [ -x "$AUDIT" ]; then
ok "audit binary: present"
ver=$("$AUDIT" --version 2>/dev/null || "$AUDIT" version 2>/dev/null || echo "unknown")
info "audit version: $ver"
echo "-- bee binary --"
BEE=/usr/local/bin/bee
if [ -x "$BEE" ]; then
ok "bee binary: present"
ver=$("$BEE" version 2>/dev/null || echo "unknown")
info "bee version: $ver"
else
fail "audit binary: NOT FOUND at $AUDIT"
fail "bee binary: NOT FOUND at $BEE"
fi
echo ""