try geth instead
This commit is contained in:
15
linea/geth/scripts/entrypoint.sh
Normal file
15
linea/geth/scripts/entrypoint.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
# exit script on any error
|
||||
set -e
|
||||
|
||||
GETH_HOME=/root/.ethereum
|
||||
|
||||
if [ ! -f "${ERIGON_HOME}/bootstrapped" ];
|
||||
then
|
||||
echo "write the custom genesis block"
|
||||
mkdir -p ${GETH_HOME:-/root/.ethereum}
|
||||
geth --datadir ${GETH_HOME:-/root/.ethereum} init /configs/mainnet/shared/genesis.json
|
||||
fi
|
||||
|
||||
exec geth $@
|
||||
Reference in New Issue
Block a user