go-ethereum/cicd/entry.sh
Liam 5153e05edc
Awsv2 (#316)
* add aws v2

* add aws v2

* fix start script

* fix start script
2023-08-24 23:56:27 +10:00

13 lines
No EOL
249 B
Bash
Executable file

#!/bin/bash
if test -z "$NETWORK"
then
echo "NETWORK env Must be set, mainnet/testnet/devnet"
exit 1
fi
echo "Select to run $NETWORK..."
ln -s /usr/bin/XDC-$NETWORK /usr/bin/XDC
cp /work/$NETWORK/* /work
echo "Start Node..."
/work/start.sh