From bba47844b94356ec537a45914713447d384acb01 Mon Sep 17 00:00:00 2001 From: poka Date: Wed, 4 Dec 2019 19:12:39 +0000 Subject: [PATCH] Move init.sh to good place, make good nodes --- {shell => .install}/init.sh.template | 0 .install/install.sh | 5 ++--- prepare.sh => .install/prepare.sh | 0 shell/good.nodes.txt | 4 ++-- 4 files changed, 4 insertions(+), 5 deletions(-) rename {shell => .install}/init.sh.template (100%) rename prepare.sh => .install/prepare.sh (100%) diff --git a/shell/init.sh.template b/.install/init.sh.template similarity index 100% rename from shell/init.sh.template rename to .install/init.sh.template diff --git a/.install/install.sh b/.install/install.sh index 63b9c5c..16868cb 100755 --- a/.install/install.sh +++ b/.install/install.sh @@ -10,7 +10,6 @@ ### TODO ## -## ## intall jq @@ -57,8 +56,8 @@ if [ ! -d ./G1sms+ ]; then # TODO ASK for GeoPoint echo "L'adresse où se trouve votre G1Node pour indiquer où venir chercher les G1Tag imprimés (ex: au G1FabLab de Toulouse)" read ADRESSE -z - cp /home/$YOU/G1sms+/shell/init.sh.template /home/$YOU/G1sms+/shell/init.sh + + cp init.sh.template /home/$YOU/G1sms+/shell/init.sh sed -i s/pi/$YOU/g /home/$YOU/G1sms+/shell/init.sh sed -i s/+33600000000/$MASTERPHONE/g /home/$YOU/G1sms+/shell/init.sh sed -i s/au\ G1FabLab\ de\ Toulouse/$ADRESSE/g /home/$YOU/G1sms+/shell/init.sh diff --git a/prepare.sh b/.install/prepare.sh similarity index 100% rename from prepare.sh rename to .install/prepare.sh diff --git a/shell/good.nodes.txt b/shell/good.nodes.txt index 0bbbf61..b38fa55 100644 --- a/shell/good.nodes.txt +++ b/shell/good.nodes.txt @@ -1,5 +1,5 @@ -duniter.moul.re:443 g1.duniter.fr:443 g1.duniter.org:443 +g1.le-sou.org:443 g1.monnaielibreoccitanie.org:443 -g1.presles.fr:443 +duniter-g1.p2p.legal:443