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