20 lines
500 B
Bash
20 lines
500 B
Bash
#!/bin/bash
|
|
# auto-bypass-usb.sh
|
|
# Drop this on an external SSD. Boot to Recovery, run it.
|
|
# No typing, no prompts — just bypass.
|
|
#
|
|
# Usage from Recovery Terminal:
|
|
# chmod +x "/Volumes/YourSSD/auto-bypass-usb.sh"
|
|
# "/Volumes/YourSSD/auto-bypass-usb.sh"
|
|
|
|
RUNAWAY_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
RUNAWAY="$RUNAWAY_DIR/runaway"
|
|
|
|
if [ ! -f "$RUNAWAY" ]; then
|
|
echo "runaway not found at $RUNAWAY"
|
|
echo "Copy the entire runaway/ folder alongside this script."
|
|
exit 1
|
|
fi
|
|
|
|
"$RUNAWAY" bypass
|