aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
authoronefang2019-08-13 03:02:02 +1000
committeronefang2019-08-13 03:02:02 +1000
commitb972846c5f7abf0deead2876c646c039a60df38a (patch)
treecdaa2d71ade02f19f05dffc1ebe5def54d741783 /scripts
parentMissed this link for the start-sim all moved to left pane thing. (diff)
downloadopensim-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-xscripts/install/create_sim.sh9
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"
39fi 39fi
40 40
41if [ "x${IP}" = "x" ]
42then
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.
47fi
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.
50if [ 9 -gt $k ]; then 42if [ 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}
64sed -i "s@SIM_NAME@${NAME}@g" ThisSim.ini 56sed -i "s@SIM_NAME@${NAME}@g" ThisSim.ini
65sed -i "s@SIM_UUID@${UUID}@g" ThisSim.ini 57sed -i "s@SIM_UUID@${UUID}@g" ThisSim.ini
66sed -i "s@SIM_POS@${LOCATION}@g" ThisSim.ini 58sed -i "s@SIM_POS@${LOCATION}@g" ThisSim.ini
67sed -i "s@SIM_IP@${IP}@g" ThisSim.ini
68sed -i "s@SIM_INT_PORT@$(( ${PORT} + 1 ))@g" ThisSim.ini 59sed -i "s@SIM_INT_PORT@$(( ${PORT} + 1 ))@g" ThisSim.ini
69sed -i "s@SIM_SIZE@${SIZE}@g" ThisSim.ini 60sed -i "s@SIM_SIZE@${SIZE}@g" ThisSim.ini
70 61