forked from HKEOS/Ghostbusters-Testnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
42 lines (32 loc) · 1.78 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
echo "Downloading latest install script...";
curl -s -O https://raw.githubusercontent.com/hkeos/Ghostbusters-Testnet/master/installGhostbusters.sh
chmod u+x installGhostbusters.sh
echo "Downloading latest publishPeerInfo script...";
curl -s -O https://raw.githubusercontent.com/hkeos/Ghostbusters-Testnet/master/publishPeerInfo.sh
chmod u+x publishPeerInfo.sh
echo "Downloading latest trustedPublish script...";
curl -s -O https://raw.githubusercontent.com/hkeos/Ghostbusters-Testnet/master/trustedPublish.sh
chmod u+x trustedPublish.sh
echo "Downloading latest updatePeers script...";
curl -s -O https://raw.githubusercontent.com/hkeos/Ghostbusters-Testnet/master/updatePeers.sh
chmod u+x updatePeers.sh
echo "Downloading latest trustedUpdate script...";
curl -s -O https://raw.githubusercontent.com/hkeos/Ghostbusters-Testnet/master/trustedUpdate.sh
chmod u+x trustedUpdate.sh
echo "Downloading latest peerCleanup script...";
curl -s -O https://raw.githubusercontent.com/hkeos/Ghostbusters-Testnet/master/peerCleanup.sh
chmod u+x peerCleanup.sh
echo "Downloading latest interactivePublish script...";
curl -s -O https://raw.githubusercontent.com/hkeos/Ghostbusters-Testnet/master/interactivePublish.sh
chmod u+x interactivePublish.sh
if [[ ! -f ./my-peer-info ]]; then
echo "Downloading my-peer-info sample";
curl -s -O https://raw.githubusercontent.com/hkeos/Ghostbusters-Testnet/master/my-peer-info
fi
if [[ ! -f ./params.sh ]]; then
echo "Downloading sample params...";
curl -s -O https://raw.githubusercontent.com/hkeos/Ghostbusters-Testnet/master/params.sh
chmod u+x params.sh
fi
echo "Scripts updated. Please follow the README.md to setup wireguard, update your peer information to keybase, check firewall, start wireguard, edit params.sh and (finally) execute ./installGhostbusters.sh";