aboutsummaryrefslogtreecommitdiff
path: root/bin/ipfs-check
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ipfs-check')
-rwxr-xr-xbin/ipfs-check17
1 files changed, 17 insertions, 0 deletions
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