ipns-denise.bash 316 B

12345678910
  1. #!/bin/bash
  2. ## Atualiza IPNS para denise.matehackers.org
  3. ## Atualmente ipns/denise.matehackers.org aponta para bafybeiduhsvjotywptuavwbbzwu27zhhc73girdmj5onwtlftvubh72ewy
  4. if [ $(hostname -f) == "denise.matehackers.org" ]
  5. then
  6. /usr/local/bin/ipfs name publish $(ipfs add --cid-version 1 -r -Q /var/www/denise)
  7. fi