From fa4fdac7fc831e55cfc3a8300426f40a796e8104 Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 2 Aug 2019 14:57:51 +1000 Subject: Bump sim ports up by 2 when creating, coz 5 is silly. --- scripts/install/create_sim.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install/create_sim.sh b/scripts/install/create_sim.sh index 475c127..16b668a 100755 --- a/scripts/install/create_sim.sh +++ b/scripts/install/create_sim.sh @@ -63,7 +63,7 @@ else NUM=$(printf '%2s' $(( 10#$k + 1 )) ) fi -PORT=$(( 9005 + (10#$k * 5) )) # 9002 is used for HTTP/UDP so START with port 9003! CAUTION Diva/D2 starts at port 9000. +PORT=$(( 9005 + (10#$k * 2) )) # 9002 is used for HTTP/UDP so START with port 9003! CAUTION Diva/D2 starts at port 9000. UUID=$(uuidgen) echo "Creating sim${NUM} on port ${PORT} @ ${LOCATION} - ${NAME}." -- cgit v1.1