From 1f731ae496cee5abe3c21bb4cf82c9bbdb48eaf3 Mon Sep 17 00:00:00 2001 From: Robert Martin-Legene <robert@nic.ar> Date: Thu, 5 Jul 2018 15:34:20 -0300 Subject: [PATCH] renamed $tcpport to $netport --- bin/libbfa.sh | 4 ++-- bin/start.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/libbfa.sh b/bin/libbfa.sh index e388eec..b2580e0 100644 --- a/bin/libbfa.sh +++ b/bin/libbfa.sh @@ -125,8 +125,8 @@ function nodedir test -d "${BFANODEDIR}/geth/chaindata" || fatal "Node is not initialised. Consider running: geth --datadir $BFANODEDIR init ${BFANETWORKDIR}/genesis.json" test -r "${BFANODEDIR}/port" || - echo $(( $RANDOM / 2 + 12345 )) > ${BFANODEDIR}/tcpport - httpport=$( cat ${BFANODEDIR}/tcpport ) + echo $(( $RANDOM / 2 + 12345 )) > ${BFANODEDIR}/netport + httpport=$( cat ${BFANODEDIR}/netport ) test -r "${BFANODEDIR}/rpcport" || echo $(( $RANDOM / 2 + 12345 )) > ${BFANODEDIR}/rpcport rpcport=$( cat ${BFANODEDIR}/rpcport ) diff --git a/bin/start.sh b/bin/start.sh index c54f057..1b6f14f 100755 --- a/bin/start.sh +++ b/bin/start.sh @@ -80,7 +80,7 @@ exec flock --nonblock --exclusive ${dir}/rpcport \ --networkid $BFANETWORKID \ --rpc \ --rpcport $rpcport \ - --port $tcpport \ + --port $netport \ --syncmode full \ --nousb \ --bootnodes "${bootnodes}" \ -- GitLab