diff options
author | onefang | 2019-08-02 14:57:51 +1000 |
---|---|---|
committer | onefang | 2019-08-02 14:57:51 +1000 |
commit | fa4fdac7fc831e55cfc3a8300426f40a796e8104 (patch) | |
tree | f2b83d73b4ac8ff96b96566e93dfc321d35f2f4d /scripts/install | |
parent | Oops, move the GridService Region_ stuff to grid specific config files. (diff) | |
download | opensim-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-x | scripts/install/create_sim.sh | 2 |
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 )) ) |
64 | fi | 64 | fi |
65 | 65 | ||
66 | PORT=$(( 9005 + (10#$k * 5) )) # 9002 is used for HTTP/UDP so START with port 9003! CAUTION Diva/D2 starts at port 9000. | 66 | PORT=$(( 9005 + (10#$k * 2) )) # 9002 is used for HTTP/UDP so START with port 9003! CAUTION Diva/D2 starts at port 9000. |
67 | UUID=$(uuidgen) | 67 | UUID=$(uuidgen) |
68 | 68 | ||
69 | echo "Creating sim${NUM} on port ${PORT} @ ${LOCATION} - ${NAME}." | 69 | echo "Creating sim${NUM} on port ${PORT} @ ${LOCATION} - ${NAME}." |