diff options
author | kaotisk <kaotisk@arching-kaos.com> | 2021-12-25 23:52:53 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.com> | 2021-12-25 23:52:53 +0200 |
commit | 0e544652466d338b23ae4356983242d3619445c1 (patch) | |
tree | 4e891838a9739b63df35f2bd59c6e4883f45cdf2 /init.sh | |
parent | 572590b670582f5d9fca8db61f9aaf417a60c9a9 (diff) | |
download | arching-kaos-tools-0e544652466d338b23ae4356983242d3619445c1.tar.gz arching-kaos-tools-0e544652466d338b23ae4356983242d3619445c1.tar.bz2 arching-kaos-tools-0e544652466d338b23ae4356983242d3619445c1.zip |
Added logs file creation
Diffstat (limited to 'init.sh')
-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 |