Make toram default and add install-to-ram CLI
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user