Skip to content
Snippets Groups Projects
Commit 1f731ae4 authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

renamed $tcpport to $netport

parent b6df3357
No related branches found
No related tags found
No related merge requests found
...@@ -125,8 +125,8 @@ function nodedir ...@@ -125,8 +125,8 @@ function nodedir
test -d "${BFANODEDIR}/geth/chaindata" || test -d "${BFANODEDIR}/geth/chaindata" ||
fatal "Node is not initialised. Consider running: geth --datadir $BFANODEDIR init ${BFANETWORKDIR}/genesis.json" fatal "Node is not initialised. Consider running: geth --datadir $BFANODEDIR init ${BFANETWORKDIR}/genesis.json"
test -r "${BFANODEDIR}/port" || test -r "${BFANODEDIR}/port" ||
echo $(( $RANDOM / 2 + 12345 )) > ${BFANODEDIR}/tcpport echo $(( $RANDOM / 2 + 12345 )) > ${BFANODEDIR}/netport
httpport=$( cat ${BFANODEDIR}/tcpport ) httpport=$( cat ${BFANODEDIR}/netport )
test -r "${BFANODEDIR}/rpcport" || test -r "${BFANODEDIR}/rpcport" ||
echo $(( $RANDOM / 2 + 12345 )) > ${BFANODEDIR}/rpcport echo $(( $RANDOM / 2 + 12345 )) > ${BFANODEDIR}/rpcport
rpcport=$( cat ${BFANODEDIR}/rpcport ) rpcport=$( cat ${BFANODEDIR}/rpcport )
......
...@@ -80,7 +80,7 @@ exec flock --nonblock --exclusive ${dir}/rpcport \ ...@@ -80,7 +80,7 @@ exec flock --nonblock --exclusive ${dir}/rpcport \
--networkid $BFANETWORKID \ --networkid $BFANETWORKID \
--rpc \ --rpc \
--rpcport $rpcport \ --rpcport $rpcport \
--port $tcpport \ --port $netport \
--syncmode full \ --syncmode full \
--nousb \ --nousb \
--bootnodes "${bootnodes}" \ --bootnodes "${bootnodes}" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment