${FPLAYER^^}

This commit is contained in:
fred 2024-03-13 14:14:34 +01:00
parent 4bfdb4af73
commit 153caaa7d2
2 changed files with 2 additions and 2 deletions

View File

@ -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 ----" \

View File

@ -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' \