diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-02-27 07:21:39 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-02-27 07:21:39 +0200 |
commit | 0588b52635b715a5d7ad66a63f8379cb4408032a (patch) | |
tree | 50e2170f8ded2e0e365c562dd217a1a519552bf2 /bin/ak-sblock-show | |
parent | fa5d6becb482da75e65683b0ae690d35fa3eade6 (diff) | |
download | arching-kaos-tools-0588b52635b715a5d7ad66a63f8379cb4408032a.tar.gz arching-kaos-tools-0588b52635b715a5d7ad66a63f8379cb4408032a.tar.bz2 arching-kaos-tools-0588b52635b715a5d7ad66a63f8379cb4408032a.zip |
Renamed script
Diffstat (limited to 'bin/ak-sblock-show')
-rwxr-xr-x | bin/ak-sblock-show | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/ak-sblock-show b/bin/ak-sblock-show new file mode 100755 index 0000000..836e60a --- /dev/null +++ b/bin/ak-sblock-show @@ -0,0 +1,9 @@ +#!/bin/bash +PROGRAM="show_sblock" +MINED_BLOCKS_DIR="/home/kaotisk/.arching-kaos/mined_blocks" +if [ ! -z $1 ] +then + cat $MINED_BLOCKS_DIR/$1 | jq +else + echo "No sblock hash input" +fi |