Make toram default and add install-to-ram CLI

This commit is contained in:
2026-05-03 14:07:47 +03:00
parent 58d6da0e4f
commit 0e39e7d960
8 changed files with 217 additions and 19 deletions

View File

@@ -28,6 +28,10 @@ done
log() { echo "[$(date +%H:%M:%S)] $*"; }
die() { log "ERROR: $*" >&2; exit 1; }
if [ "$(id -u)" -ne 0 ]; then
die "bee-remount-medium must be run as root (use sudo or a root shell)"
fi
# Return all candidate block devices (optical + removable USB mass storage)
find_candidates() {
# CD/DVD drives