Skip to content

Commit

Permalink
up-generic.sh: better multi support
Browse files Browse the repository at this point in the history
  • Loading branch information
RandyMcMillan committed Sep 16, 2021
1 parent 1116045 commit a1ce1ff
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions up-generic.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
if [[ $# -ne 1 ]];
then
echo "up-generic.sh (# of instances)"
exit
fi

#This is for internal testing only
declare ARCH=$(uname -m)-linux-gnu

#This is for internal testing only
: ${ARCH:=x86_64-linux-gnu}
: ${bitcoind=10}
: ${lnd=10}
: ${tor=10}
: ${ARCH:=$(uname -m)-linux-gnu}
: ${bitcoind=${!#}}
: ${lnd=${!#}}
: ${tor=${!#}}

python plebnet_generate.py ARCH=$ARCH bitcoind=$bitcoind lnd=$lnd tor=$tor

Expand Down

0 comments on commit a1ce1ff

Please sign in to comment.