From 2f11539eef545fc0a9761693ae55e837b460beac Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 3 Apr 2023 08:22:39 +0300 Subject: Added ak-zblock-show with appropriate route in API with caching feature --- bin/ak-zblock-cache | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bin/ak-zblock-cache (limited to 'bin/ak-zblock-cache') diff --git a/bin/ak-zblock-cache b/bin/ak-zblock-cache new file mode 100755 index 0000000..6551796 --- /dev/null +++ b/bin/ak-zblock-cache @@ -0,0 +1,11 @@ +#!/bin/bash + +if [ ! -z "$1" ] +then + ak-zblock-show "$1" > $AK_ZBLOCKDIR/$1 + exit 0 +else + echo not ok + exit 1 +fi + -- cgit v1.2.3