forked from HKEOS/Ghostbusters-Testnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
34 lines (26 loc) · 1.32 KB
/
setup.sh
File metadata and controls
34 lines (26 loc) · 1.32 KB
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
#!/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 updatePeers script...";
curl -s -O https://raw.githubusercontent.com/HKEOS/Ghostbusters-Testnet/master/updatePeers.sh
chmod u+x updatePeers.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. Verify information on params.sh and execute ./installGhostbusters.sh";