summaryrefslogtreecommitdiff
path: root/net-wireless/hackrf-tools/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /net-wireless/hackrf-tools/files
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'net-wireless/hackrf-tools/files')
-rw-r--r--[-rwxr-xr-x]net-wireless/hackrf-tools/files/hackrf_easy_flash-r1 (renamed from net-wireless/hackrf-tools/files/hackrf_easy_flash)8
1 files changed, 8 insertions, 0 deletions
diff --git a/net-wireless/hackrf-tools/files/hackrf_easy_flash b/net-wireless/hackrf-tools/files/hackrf_easy_flash-r1
index 78d0c69b0cd5..deece5e31891 100755..100644
--- a/net-wireless/hackrf-tools/files/hackrf_easy_flash
+++ b/net-wireless/hackrf-tools/files/hackrf_easy_flash-r1
@@ -50,6 +50,9 @@ list_firmware() {
if [ -r "/usr/share/hackrf/portapack-h1-havoc.bin" ]; then
printf "portapack-havoc (--havoc)\n"
fi
+ if [ -r "/usr/share/hackrf/portapack-h1_h2-mayhem.bin" ]; then
+ printf "portapack-mayhem (--mayhem)\n"
+ fi
}
#parse args
@@ -78,6 +81,11 @@ while [ -n "${1}" ]; do
TARGET=havoc
shift
;;
+ mayhem|--mayhem)
+ firmware="/usr/share/hackrf/portapack-h1_h2-mayhem.bin"
+ TARGET=mayhem
+ shift
+ ;;
cpld|--cpld)
CPLD=1
get_cpld