Create dir if doesnt exist

This commit is contained in:
Oskar Thoren 2019-02-25 11:49:18 +08:00
parent 3eb01a1420
commit 573782ad2b
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ echo "[Starting node-a...]"
echo "[Copying static-nodes...]"
#cp static-nodes.json /tmp/node-a/
mkdir -p ~/.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

View File

@ -8,6 +8,7 @@
echo "[Starting node-b...]"
echo "[Copying static-nodes...]"
mkdir -p ~/.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