nimbus-eth2/tests/simulation/wait_master_node.sh

10 lines
171 B
Bash
Executable File

#!/bin/bash
if [ ! -f "${MASTER_NODE_ADDRESS_FILE}" ]; then
echo Waiting for master node...
while [ ! -f "${MASTER_NODE_ADDRESS_FILE}" ]; do
sleep 0.1
done
fi