diff options
author | onefang | 2019-08-13 03:02:02 +1000 |
---|---|---|
committer | onefang | 2019-08-13 03:02:02 +1000 |
commit | b972846c5f7abf0deead2876c646c039a60df38a (patch) | |
tree | cdaa2d71ade02f19f05dffc1ebe5def54d741783 /scripts | |
parent | Missed this link for the start-sim all moved to left pane thing. (diff) | |
download | opensim-SC_OLD-b972846c5f7abf0deead2876c646c039a60df38a.zip opensim-SC_OLD-b972846c5f7abf0deead2876c646c039a60df38a.tar.gz opensim-SC_OLD-b972846c5f7abf0deead2876c646c039a60df38a.tar.bz2 opensim-SC_OLD-b972846c5f7abf0deead2876c646c039a60df38a.tar.xz |
Make [Region] InternalAddress and ExternalHostName reasonable defaults.
Also AllowAlternatePorts isn't actually in the code anywhere, get rid of
it.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install/create_sim.sh | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/install/create_sim.sh b/scripts/install/create_sim.sh index 0aa0941..71aabc7 100755 --- a/scripts/install/create_sim.sh +++ b/scripts/install/create_sim.sh | |||
@@ -38,14 +38,6 @@ then | |||
38 | SIZE="256" | 38 | SIZE="256" |
39 | fi | 39 | fi |
40 | 40 | ||
41 | if [ "x${IP}" = "x" ] | ||
42 | then | ||
43 | IP="0.0.0.0" | ||
44 | echo "WARNING setting the InternalAddress to ${IP}, this may not be what you want." | ||
45 | # echo " 0.0.0.0 will work for a single sim per physical machine, otherwise we need the real internal IP." | ||
46 | # According to the OpenSim docs, 0.0.0.0 means to listen on all NICs the machine has, which should work fine. | ||
47 | fi | ||
48 | |||
49 | # Wow, the hoops we have to jump through to avoid octal. | 41 | # Wow, the hoops we have to jump through to avoid octal. |
50 | if [ 9 -gt $k ]; then | 42 | if [ 9 -gt $k ]; then |
51 | NUM=$(printf '0%1s' $(( 10#$k + 1 )) ) | 43 | NUM=$(printf '0%1s' $(( 10#$k + 1 )) ) |
@@ -64,7 +56,6 @@ cd sim${NUM} | |||
64 | sed -i "s@SIM_NAME@${NAME}@g" ThisSim.ini | 56 | sed -i "s@SIM_NAME@${NAME}@g" ThisSim.ini |
65 | sed -i "s@SIM_UUID@${UUID}@g" ThisSim.ini | 57 | sed -i "s@SIM_UUID@${UUID}@g" ThisSim.ini |
66 | sed -i "s@SIM_POS@${LOCATION}@g" ThisSim.ini | 58 | sed -i "s@SIM_POS@${LOCATION}@g" ThisSim.ini |
67 | sed -i "s@SIM_IP@${IP}@g" ThisSim.ini | ||
68 | sed -i "s@SIM_INT_PORT@$(( ${PORT} + 1 ))@g" ThisSim.ini | 59 | sed -i "s@SIM_INT_PORT@$(( ${PORT} + 1 ))@g" ThisSim.ini |
69 | sed -i "s@SIM_SIZE@${SIZE}@g" ThisSim.ini | 60 | sed -i "s@SIM_SIZE@${SIZE}@g" ThisSim.ini |
70 | 61 | ||