mirror of
https://github.com/Dasharo/fwdeploy.git
synced 2026-03-06 14:48:02 -08:00
9 lines
304 B
Bash
Executable File
9 lines
304 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
( [ "${1}" == "" ] || [ ! -f "${1}" ] || [ "${2}" == "" ] || [ ! -f "${2}" ] ) && \
|
|
echo "Usage: ./run.sh <fw_dump_bin> <cb_stub_bin>" && exit 1
|
|
|
|
docker run -v $(readlink -f ${1}):/home/fwdeploy/fw.bin -v $(readlink -f ${2}):/home/fwdeploy/cb.bin -t dasharo/fwdeploy:latest fw.bin cb.bin
|
|
|