diff options
-rwxr-xr-x | init.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -9,6 +9,7 @@ if [[ ! -d $ZBLOCKDIR ]]; then mkdir $ZBLOCKDIR ;fi if [[ ! -d $BLOCKDIR ]]; then mkdir $BLOCKDIR ;fi if [[ ! -d $DATADIR ]]; then mkdir $DATADIR ;fi if [[ ! -d $ARCHIVESDIR ]]; then mkdir $ARCHIVESDIR ;fi +if [[ ! -f $LOGSFILE ]]; then touch $LOGSFILE ;fi if [[ ! -f $GENESIS ]] ; then touch $GENESIS;fi if [[ ! -f $ZGENESIS ]] ; then echo "$(ipfs add -q $GENESIS)" > $ZGENESIS;fi if [[ ! -f $ZCHAIN ]] ; then echo "$(ipfs key gen zchain)" > $ZCHAIN;fi |