diff --git a/20h12.process.sh b/20h12.process.sh index 2bf5401a..9b51df43 100755 --- a/20h12.process.sh +++ b/20h12.process.sh @@ -17,7 +17,7 @@ LOWMODE=$(sudo systemctl status ipfs | grep disabled) ## IPFS DISABLED - START O # echo "$USER ALL=(ALL) NOPASSWD:/bin/systemctl" | (sudo su -c 'EDITOR="tee" visudo -f /etc/sudoers.d/systemctl') #~ sudo systemctl stop astroport -## CHECK IF IPFS NODE IS RESPONDING +## CHECK IF IPFS NODE IS RESPONDING (ipfs name resolve ?) ipfs --timeout=30s swarm peers 2>/dev/null > ~/.zen/tmp/ipfs.swarm.peers [[ ! -s ~/.zen/tmp/ipfs.swarm.peers || $? != 0 ]] \ && echo "---- SWARM COMMUNICATION BROKEN / RESTARTING IPFS DAEMON ----" \ diff --git a/RUNTIME/PLAYER.refresh.sh b/RUNTIME/PLAYER.refresh.sh index c70971b5..989d90cb 100755 --- a/RUNTIME/PLAYER.refresh.sh +++ b/RUNTIME/PLAYER.refresh.sh @@ -356,7 +356,7 @@ for PLAYER in ${PLAYERONE[@]}; do > ~/.zen/tmp/${MOATS}/${FPLAYER^^}.json echo "Insert New ${FPLAYER^^}.json" - cat ~/.zen/tmp/${MOATS}/${FPLAYER^^}.json | jq + #~ cat ~/.zen/tmp/${MOATS}/${FPLAYER^^}.json | jq tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \ --import ${HOME}/.zen/tmp/${MOATS}/${FPLAYER^^}.json 'application/json' \