From 9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 3 Apr 2023 00:24:49 +0300 Subject: Renaming to prefix convention, introduced ipfs wrappers so it can be easier to maintain, changes in filesplitter and filejoiner as they move sm submodule namespace... like there are namespaces in bash or something --- bin/ak-ipfs-check | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin/ak-ipfs-check') diff --git a/bin/ak-ipfs-check b/bin/ak-ipfs-check index 721693e..0ee3e3c 100755 --- a/bin/ak-ipfs-check +++ b/bin/ak-ipfs-check @@ -5,7 +5,7 @@ logit(){ } -ipfs files ls /zarchive > /dev/null +ak-ipfs-files-ls /zarchive > /dev/null if [ $? != 0 ] then logit "[ERROR]" "/zarchive is missing" @@ -14,7 +14,7 @@ else fi -ipfs files ls /zlatest > /dev/null +ak-ipfs-files-ls /zlatest > /dev/null if [ $? != 0 ] then logit "[ERROR]" "/zlatest is missing" @@ -22,10 +22,10 @@ else logit "[INFO]" "/zlatest is OK" fi -ipfs key list | grep zchain > /dev/null +ak-ipfs-key-list | grep zchain > /dev/null if [ $? != 0 ]; then logit "[WARNING]" "zchain key is missing" - ipfs key gen zchain > $ZCHAIN + ak-ipfs-key-gen zchain > $ZCHAIN if [ $? != 0 ]; then logit "[ERROR]" "zchain fails to create" else @@ -35,10 +35,10 @@ else logit "[INFO]" "zchain is there" fi -ipfs key list | grep ak-config > /dev/null +ak-ipfs-key-list | grep ak-config > /dev/null if [ $? != 0 ]; then logit "[WARNING]" "ak-config key is missing" - ipfs key gen ak-config + ak-ipfs-key-gen ak-config if [ $? != 0 ]; then logit "[ERROR]" "ak-config fails to create" else -- cgit v1.2.3