aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
authoronefang2019-08-02 14:57:51 +1000
committeronefang2019-08-02 14:57:51 +1000
commitfa4fdac7fc831e55cfc3a8300426f40a796e8104 (patch)
treef2b83d73b4ac8ff96b96566e93dfc321d35f2f4d /scripts
parentOops, move the GridService Region_ stuff to grid specific config files. (diff)
downloadopensim-SC_OLD-fa4fdac7fc831e55cfc3a8300426f40a796e8104.zip
opensim-SC_OLD-fa4fdac7fc831e55cfc3a8300426f40a796e8104.tar.gz
opensim-SC_OLD-fa4fdac7fc831e55cfc3a8300426f40a796e8104.tar.bz2
opensim-SC_OLD-fa4fdac7fc831e55cfc3a8300426f40a796e8104.tar.xz
Bump sim ports up by 2 when creating, coz 5 is silly.
Diffstat (limited to '')
-rwxr-xr-xscripts/install/create_sim.sh2
1 files changed, 1 insertions, 1 deletions
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
63 NUM=$(printf '%2s' $(( 10#$k + 1 )) ) 63 NUM=$(printf '%2s' $(( 10#$k + 1 )) )
64fi 64fi
65 65
66PORT=$(( 9005 + (10#$k * 5) )) # 9002 is used for HTTP/UDP so START with port 9003! CAUTION Diva/D2 starts at port 9000. 66PORT=$(( 9005 + (10#$k * 2) )) # 9002 is used for HTTP/UDP so START with port 9003! CAUTION Diva/D2 starts at port 9000.
67UUID=$(uuidgen) 67UUID=$(uuidgen)
68 68
69echo "Creating sim${NUM} on port ${PORT} @ ${LOCATION} - ${NAME}." 69echo "Creating sim${NUM} on port ${PORT} @ ${LOCATION} - ${NAME}."