forked from STI/Astroport.ONE
${FPLAYER^^}
This commit is contained in:
parent
4bfdb4af73
commit
153caaa7d2
@ -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')
|
# echo "$USER ALL=(ALL) NOPASSWD:/bin/systemctl" | (sudo su -c 'EDITOR="tee" visudo -f /etc/sudoers.d/systemctl')
|
||||||
|
|
||||||
#~ sudo systemctl stop astroport
|
#~ 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
|
ipfs --timeout=30s swarm peers 2>/dev/null > ~/.zen/tmp/ipfs.swarm.peers
|
||||||
[[ ! -s ~/.zen/tmp/ipfs.swarm.peers || $? != 0 ]] \
|
[[ ! -s ~/.zen/tmp/ipfs.swarm.peers || $? != 0 ]] \
|
||||||
&& echo "---- SWARM COMMUNICATION BROKEN / RESTARTING IPFS DAEMON ----" \
|
&& echo "---- SWARM COMMUNICATION BROKEN / RESTARTING IPFS DAEMON ----" \
|
||||||
|
@ -356,7 +356,7 @@ for PLAYER in ${PLAYERONE[@]}; do
|
|||||||
> ~/.zen/tmp/${MOATS}/${FPLAYER^^}.json
|
> ~/.zen/tmp/${MOATS}/${FPLAYER^^}.json
|
||||||
|
|
||||||
echo "Insert New ${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 \
|
tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \
|
||||||
--import ${HOME}/.zen/tmp/${MOATS}/${FPLAYER^^}.json 'application/json' \
|
--import ${HOME}/.zen/tmp/${MOATS}/${FPLAYER^^}.json 'application/json' \
|
||||||
|
Loading…
Reference in New Issue
Block a user