aboutsummaryrefslogtreecommitdiff
path: root/init.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-09-27 16:40:43 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-09-27 16:40:43 +0300
commit35b9daa63ac127e5a2a769cf96a56a0acd8da725 (patch)
tree99c9a3e2b40a15c3c84ecbd483a1aea68e796cd8 /init.sh
parent95063fc1bd293520d2c11cc8cc091dbf619505b4 (diff)
downloadarching-kaos-tools-35b9daa63ac127e5a2a769cf96a56a0acd8da725.tar.gz
arching-kaos-tools-35b9daa63ac127e5a2a769cf96a56a0acd8da725.tar.bz2
arching-kaos-tools-35b9daa63ac127e5a2a769cf96a56a0acd8da725.zip
Got peers into the installation and configuration
Diffstat (limited to 'init.sh')
-rwxr-xr-xinit.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.sh b/init.sh
index 1334a7e..d278039 100755
--- a/init.sh
+++ b/init.sh
@@ -66,6 +66,9 @@ if [ ! -f $AK_ZCHAINASC ] ; then gpg2 --homedir $AK_GPGHOME -bao $AK_ZCHAINASC $
if [ ! -f $AK_ZZCHAIN ] ; then printf "%s" "$(ipfs add -q $AK_ZCHAINASC)" > $AK_ZZCHAIN;fi
if [ ! -f $AK_GENESISASC ] ; then gpg2 --homedir $AK_GPGHOME -bao $AK_GENESISASC $AK_GENESIS;fi
if [ ! -f $AK_ZGENESISASC ] ; then printf "%s" "$(ipfs add -q $AK_GENESISASC)" > $AK_ZGENESISASC;fi
+if [ ! -f $AK_ZBLOCKSFILE ] ; then printf "[]" > $AK_ZBLOCKSFILE;fi
+if [ ! -f $AK_ZPAIRSFILE ] ; then printf "[]" > $AK_ZPAIRSFILE;fi
+if [ ! -f $AK_ZPEERSFILE ] ; then printf "[]" > $AK_ZPEERSFILE;fi
ipfs_zarchive_check_or_mkdir