github.com/kotalco/kotal@v0.3.0/controllers/ipfs/init_ipfs_config.sh (about)

     1  #!/bin/sh
     2  
     3  set -e
     4  
     5  if [ -e $IPFS_PATH/config ]
     6  then
     7  	echo "ipfs config has already been initialized"
     8  else 
     9  	echo "initializing ipfs config"
    10  	ipfs init --empty-repo --profile $IPFS_INIT_PROFILES
    11  fi