TW droping
This commit is contained in:
parent
9bf211fae9
commit
3500911874
11
command.sh
11
command.sh
|
@ -121,14 +121,11 @@ select fav in "${choices[@]}"; do
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"SUPPRIMER VISA")
|
"SUPPRIMER VISA")
|
||||||
echo "ATTENTION ${PLAYER} SUPPRESSION CACHE LOCAL DEFINITIVE !!"
|
echo "ATTENTION ${PLAYER} DECONNEXION DE VOTRE TW !!"
|
||||||
echo "Enter to continue. Ctrl+C to stop"
|
echo "Enter to continue. Ctrl+C to stop"
|
||||||
read
|
read
|
||||||
echo "REPLACE $IPFSNODEID WITH _ASTROPORT_"
|
espeak "Droping TW in cyber space"
|
||||||
sed "s~${IPFSNODEID}~_ASTROPORT_~g" ~/.zen/game/players/$PLAYER/ipfs/moa/index.html > ~/.zen/tmp/$PLAYER.html
|
|
||||||
TW=$(ipfs add -Hq ~/.zen/tmp/$PLAYER.html | tail -n 1)
|
|
||||||
ipfs name publish --allow-offline --key=$PLAYER /ipfs/$TW
|
|
||||||
espeak "TW dropped in cyberspace..."
|
|
||||||
ipfs key rm ${PLAYER}; ipfs key rm ${PLAYER}_feed; ipfs key rm $G1PUB;
|
ipfs key rm ${PLAYER}; ipfs key rm ${PLAYER}_feed; ipfs key rm $G1PUB;
|
||||||
for voeu in $(ls ~/.zen/game/players/$PLAYER/voeux/*/ 2>/dev/null); do
|
for voeu in $(ls ~/.zen/game/players/$PLAYER/voeux/*/ 2>/dev/null); do
|
||||||
ipfs key rm $voeu
|
ipfs key rm $voeu
|
||||||
|
@ -143,7 +140,7 @@ select fav in "${choices[@]}"; do
|
||||||
#~ echo "REMOVE CESIUM+"
|
#~ echo "REMOVE CESIUM+"
|
||||||
$MY_PATH/tools/jaklis/jaklis.py -k $HOME/.zen/game/players/$PLAYER/secret.dunikey -n "$myCESIUM" erase
|
$MY_PATH/tools/jaklis/jaklis.py -k $HOME/.zen/game/players/$PLAYER/secret.dunikey -n "$myCESIUM" erase
|
||||||
echo "rm -Rf ~/.zen/game/players/$PLAYER"
|
echo "rm -Rf ~/.zen/game/players/$PLAYER"
|
||||||
sudo rm -Rf ~/.zen/game/players/$PLAYER
|
rm -Rf ~/.zen/game/players/$PLAYER
|
||||||
|
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue