aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/install
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install')
-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