1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-12 11:21:55 +00:00
openmptcprouter/sign.sh

9 lines
236 B
Bash
Raw Permalink Normal View History

#!/bin/sh
key=${1:-key-build}
2018-08-28 16:55:12 +00:00
path=${2:-x86_64}
[ -d $path/source/bin ] && [ -f "$key" ] && \
find $path/source/bin \
\( -name '*.img.gz' -or -name 'Packages' \) \
2018-08-28 16:55:12 +00:00
-exec $path/source/staging_dir/host/bin/usign -S -m {} -s "$key" \;