diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-04-03 00:24:49 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-04-03 00:24:49 +0300 |
commit | 9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1 (patch) | |
tree | 5f16ff3c7506b653862e0171d71163074f67c96e /bin/ak-ipfs-check | |
parent | fe1fb88889b2c3949383c254f3058da24ba5e3f2 (diff) | |
download | arching-kaos-tools-9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1.tar.gz arching-kaos-tools-9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1.tar.bz2 arching-kaos-tools-9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1.zip |
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
Diffstat (limited to 'bin/ak-ipfs-check')
-rwxr-xr-x | bin/ak-ipfs-check | 12 |
1 files changed, 6 insertions, 6 deletions
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 |