♥Box Ğ1Station - Astroport Ŋ1 ${IPNSTAIL} != "_ASTROPORT_"
parent
964ac5e4a9
commit
5528b3d0b0
|
@ -114,7 +114,7 @@ for PLAYER in ${PLAYERONE[@]}; do
|
|||
echo "TW ASTROPORT GATEWAY : ${ASTROPORT}"
|
||||
|
||||
## MOVED PLAYER (KEY IS KEPT ON LAST CONNECTED ASTROPORT)
|
||||
if [[ ${IPNSTAIL} != ${IPFSNODEID} ]]; then
|
||||
if [[ ${IPNSTAIL} != ${IPFSNODEID} && ${IPNSTAIL} != "_ASTROPORT_" ]]; then
|
||||
echo "> I AM ${IPFSNODEID} : PLAYER MOVED TO ${IPNSTAIL} : EJECTION "
|
||||
echo "REMOVE PLAYER & G1VOEU IPNS KEYS"
|
||||
ipfs key rm "${PLAYER}" "${PLAYER}_feed" "$G1PUB"
|
||||
|
|
12
command.sh
12
command.sh
|
@ -102,7 +102,7 @@ echo "Activation Réseau P2P Astroport !"
|
|||
|
||||
echo
|
||||
PS3="$PLAYER choisissez : __ "
|
||||
choices=("CREER UN VOEU" "PRINT QRVOEU" "PRINT VISA" "REMOVE PLAYER" "QUITTER")
|
||||
choices=("MAKE UN VOEU" "PRINT QRVOEU" "PRINT VISA" "UNPLUG PLAYER" "QUIT")
|
||||
select fav in "${choices[@]}"; do
|
||||
case $fav in
|
||||
"PRINT VISA")
|
||||
|
@ -110,7 +110,7 @@ select fav in "${choices[@]}"; do
|
|||
${MY_PATH}/tools/VISA.print.sh "$PLAYER"
|
||||
;;
|
||||
|
||||
"REMOVE PLAYER")
|
||||
"UNPLUG PLAYER")
|
||||
echo "ATTENTION ${PLAYER} DECONNEXION DE VOTRE TW !!"
|
||||
echo "Enter to continue. Ctrl+C to stop"
|
||||
read
|
||||
|
@ -122,14 +122,14 @@ select fav in "${choices[@]}"; do
|
|||
ipfs key rm $voeu
|
||||
done
|
||||
|
||||
## REMOVE PLAYER DOCKER
|
||||
## UNPLUG PLAYER DOCKER
|
||||
[[ $USER == "zen" ]] && make player MAIL=$PLAYER DELETE=true
|
||||
|
||||
#~ echo "REMOVING GCHANGE+ PROFILE"
|
||||
#~ $MY_PATH/tools/jaklis/jaklis.py -k $HOME/.zen/game/players/$PLAYER/secret.dunikey -n "$myDATA" erase
|
||||
#~ $MY_PATH/tools/jaklis/jaklis.py -k $HOME/.zen/game/players/$PLAYER/secret.dunikey -n "$myCESIUM" erase
|
||||
|
||||
echo "PLAYER IPNS KEYS REMOVED"
|
||||
echo "PLAYER IPNS KEYS UNPLUGD"
|
||||
echo "rm -Rf ~/.zen/game/players/$PLAYER"
|
||||
rm -Rf ~/.zen/game/players/$PLAYER
|
||||
|
||||
|
@ -141,7 +141,7 @@ select fav in "${choices[@]}"; do
|
|||
#~ ${MY_PATH}/tools/vlc_webcam.sh "$PLAYER"
|
||||
#~ ;;
|
||||
|
||||
"CREER UN VOEU")
|
||||
"MAKE UN VOEU")
|
||||
echo "QRCode à coller sur les lieux ou objets portant une Gvaleur"
|
||||
cp ~/.zen/game/players/$PLAYER/ipfs/moa/index.html ~/.zen/tmp/$PLAYER.html
|
||||
${MY_PATH}/ASTROBOT/G1Voeu.sh "" "$PLAYER" "$HOME/.zen/tmp/$PLAYER.html"
|
||||
|
@ -166,7 +166,7 @@ select fav in "${choices[@]}"; do
|
|||
${MY_PATH}/tools/VOEUX.print.sh $PLAYER
|
||||
;;
|
||||
|
||||
"QUITTER")
|
||||
"QUIT")
|
||||
echo "CIAO" && exit 0
|
||||
;;
|
||||
|
||||
|
|
|
@ -64,7 +64,6 @@ header {
|
|||
<header>
|
||||
<form id="formlink" action = "http://127.0.0.1:1234" method = "GET" enctype="application/x-www-form-urlencoded">
|
||||
<h1><span>Astroport</span> <a href="http://127.0.0.1:12345">Ŋ1</a></h1>
|
||||
<br>
|
||||
<div id="yellow">
|
||||
<input name='salt' value='0'>
|
||||
<h3><a title="url='http://127.0.0.1:12345'" href="http://127.0.0.1:12345"> >>> (◕‿‿◕) <<< </a></h3>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<link rel="icon" type="image/x-icon" href="http://127.0.0.1:8080/ipfs/QmQLQ5WdCEc7mpKw5rhUujUU1URKweei4Bb4esyVNd9Atx/favicon.ico">
|
||||
<title>♥Box Station - Astroport Ŋ1 - </title>
|
||||
<title>♥Box Ğ1Station - Astroport Ŋ1 - </title>
|
||||
<link rel="stylesheet" href="http://127.0.0.1:8080/ipfs/QmQLQ5WdCEc7mpKw5rhUujUU1URKweei4Bb4esyVNd9Atx/G1PalPay_fichiers/demo.css">
|
||||
|
||||
<script src="http://127.0.0.1:8080/ipfs/QmYD4y1pXHVnGxxFcn2LWo84ytwmWdNbkyUeFnPCbrpUQy/openpgp.min.js"></script>
|
||||
|
@ -109,7 +109,9 @@ a {
|
|||
|
||||
<div id="demo">
|
||||
<div id="description">
|
||||
<h1><a href="http://astroport.localhost:1234">(Ğ1) <span>♥Box</span> Station</a></h1><br>
|
||||
<header>
|
||||
<h1><a href="http://astroport.localhost:1234"><span>♥Box</span> Ğ1Station</a></h1><br>
|
||||
</header>
|
||||
<h2>N'attendez pas la Retraite !</h2>
|
||||
<h3>Oubliez la crise... </h3>
|
||||
<h2>Utilisez la Monnaie Libre.</h2>
|
||||
|
|
Loading…
Reference in New Issue