mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-09-26 06:25:37 +08:00
11 lines
331 B
Bash
Executable file
11 lines
331 B
Bash
Executable file
#!/bin/bash
|
|
|
|
. docker_conf
|
|
UART_PORT="$(../../pm3 --list|grep dev|head -n1|cut -d' ' -f2)"
|
|
if [ -n "$UART_PORT" ]; then
|
|
DEV="--device=/dev/tty0 --device=$UART_PORT"
|
|
else
|
|
DEV=""
|
|
fi
|
|
docker run $DEV --volume="$(pwd)/../..:/home/rrg/proxmark3" -w /home/rrg/proxmark3 -it "$DOCKER_IMAGE"
|
|
# if needed, run brew as user linuxbrew
|