From 153caaa7d2d4b700e1f27e723c710489ba3c0edf Mon Sep 17 00:00:00 2001 From: fred Date: Wed, 13 Mar 2024 14:14:34 +0100 Subject: [PATCH] ${FPLAYER^^} --- 20h12.process.sh | 2 +- RUNTIME/PLAYER.refresh.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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' \