Create dir if doesnt exist
This commit is contained in:
parent
3eb01a1420
commit
573782ad2b
|
@ -7,6 +7,7 @@ echo "[Starting node-a...]"
|
||||||
|
|
||||||
echo "[Copying static-nodes...]"
|
echo "[Copying static-nodes...]"
|
||||||
#cp static-nodes.json /tmp/node-a/
|
#cp static-nodes.json /tmp/node-a/
|
||||||
|
mkdir -p ~/.ethereum/node-a/
|
||||||
cp static-nodes.json ~/.ethereum/node-a/
|
cp static-nodes.json ~/.ethereum/node-a/
|
||||||
#geth --testnet --syncmode=light --rpc --maxpeers=25 --shh --shh.pow=0.002 --rpcport=8500 --datadir=~/ethereum/node-a --port=30000
|
#geth --testnet --syncmode=light --rpc --maxpeers=25 --shh --shh.pow=0.002 --rpcport=8500 --datadir=~/ethereum/node-a --port=30000
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
echo "[Starting node-b...]"
|
echo "[Starting node-b...]"
|
||||||
|
|
||||||
echo "[Copying static-nodes...]"
|
echo "[Copying static-nodes...]"
|
||||||
|
mkdir -p ~/.ethereum/node-b/
|
||||||
cp static-nodes.json ~/.ethereum/node-b/
|
cp static-nodes.json ~/.ethereum/node-b/
|
||||||
#geth --testnet --syncmode=light --rpc --maxpeers=25 --shh --shh.pow=0.002 --rpcport=8501 --datadir=~/.ethereum/node-b --port=30001 --verbosity=4
|
#geth --testnet --syncmode=light --rpc --maxpeers=25 --shh --shh.pow=0.002 --rpcport=8501 --datadir=~/.ethereum/node-b --port=30001 --verbosity=4
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue