mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
13 lines
No EOL
258 B
Bash
Executable file
13 lines
No EOL
258 B
Bash
Executable file
#!/bin/bash
|
|
if test -z "$NETWORK"
|
|
then
|
|
echo "NETWORK env Must be set, mainnet/testnet/devnet/local"
|
|
exit 1
|
|
fi
|
|
|
|
echo "Select to run $NETWORK..."
|
|
ln -s /usr/bin/XDC-$NETWORK /usr/bin/XDC
|
|
cp -n /work/$NETWORK/* /work
|
|
|
|
echo "Start Node..."
|
|
/work/start.sh |