From 5b6c322d0bb8a131aa947b135a731a3f88e50c2d Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 11 Feb 2022 10:15:14 +0200 Subject: IPFS check tool for debugging IPFS --- bin/ipfs-check | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 bin/ipfs-check (limited to 'bin') diff --git a/bin/ipfs-check b/bin/ipfs-check new file mode 100755 index 0000000..de1b133 --- /dev/null +++ b/bin/ipfs-check @@ -0,0 +1,17 @@ +#!/bin/bash +logit(){ + logthis "ipfs-check" $1 +} + + +ipfs files ls /zarchive +if [ $? != 0 ]; then logit "/zarchive is missing" ; fi + +ipfs files ls /zlatest +if [ $? != 0 ]; then logit "/zlatest is missing" ; fi + +ipfs key list | zchain +if [ $? != 0 ]; then logit "zchain key is missing" ; fi + +ipfs key list | ak-config +if [ $? != 0 ]; then logit "ak-config key is missing" ; fi -- cgit v1.2.3