aboutsummaryrefslogtreecommitdiff
path: root/init.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-04-15 20:10:50 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-04-15 20:10:50 +0300
commit0ce8b434e264b0fca5bb900ba57701ee05216170 (patch)
tree6342a80f355d18933497808a92f84205ea5f7371 /init.sh
parent15d49c853c96ebef6c1826d0eeeeac54d0956d6f (diff)
downloadarching-kaos-tools-0ce8b434e264b0fca5bb900ba57701ee05216170.tar.gz
arching-kaos-tools-0ce8b434e264b0fca5bb900ba57701ee05216170.tar.bz2
arching-kaos-tools-0ce8b434e264b0fca5bb900ba57701ee05216170.zip
still fixing installation
Diffstat (limited to 'init.sh')
-rwxr-xr-xinit.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/init.sh b/init.sh
index 6a9302c..e840781 100755
--- a/init.sh
+++ b/init.sh
@@ -1,16 +1,5 @@
#!/bin/bash
-#source ./config.sh
echo "INIT started"
-#echo This is our work dir: $WORKDIR
-if [[ ! -d $AK_WORKDIR ]] ; then mkdir $AK_WORKDIR ;fi
-if [[ ! -d $AK_CONFIGDIR ]] ; then mkdir $AK_CONFIGDIR ;fi
-if [[ ! -d $AK_BINDIR ]]; then mkdir $AK_BINDIR ;fi
-if [[ ! -d $AK_ZBLOCKDIR ]]; then mkdir $AK_ZBLOCKDIR ;fi
-if [[ ! -d $AK_BLOCKDIR ]]; then mkdir $AK_BLOCKDIR ;fi
-if [[ ! -d $AK_DATADIR ]]; then mkdir $AK_DATADIR ;fi
-if [[ ! -d $AK_ARCHIVESDIR ]]; then mkdir $AK_ARCHIVESDIR ;fi
-if [[ ! -f $AK_LOGSFILE ]]; then touch $AK_LOGSFILE ;fi
-if [[ ! -f $AK_GENESIS ]] ; then touch $AK_GENESIS;fi
if [[ -f $AK_ZGENESIS ]] ; then echo "$(ipfs add -q $AK_GENESIS)" > $AK_ZGENESIS;fi
if [[ ! -f $AK_ZCHAIN ]] ; then echo "$(ipfs key gen zchain)" > $AK_ZCHAIN;fi
if [[ ! -f $AK_ZLATEST ]] ; then cp $AK_ZGENESIS $AK_ZLATEST;fi