aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/install/create_sim.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xscripts/install/create_sim.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/install/create_sim.sh b/scripts/install/create_sim.sh
index 71aabc7..6af49ac 100755
--- a/scripts/install/create_sim.sh
+++ b/scripts/install/create_sim.sh
@@ -13,7 +13,7 @@ cd ${OS_PATH}/config
13k=0 13k=0
14for i in $(seq -w 1 99) 14for i in $(seq -w 1 99)
15do 15do
16 if [ -e "sim$j" ] 16 if [ -e "sim$i" ]
17 then 17 then
18 k=$i 18 k=$i
19 fi 19 fi
@@ -70,5 +70,7 @@ sed -i "s@SIM_PORT@${PORT}@g" ThisSim.ini
70sed -i "s@OS_PATH@${OS_PATH}@g" opensim-monit.conf 70sed -i "s@OS_PATH@${OS_PATH}@g" opensim-monit.conf
71sed -i "s@SIM_NUMBER@${NUM}@g" opensim-monit.conf 71sed -i "s@SIM_NUMBER@${NUM}@g" opensim-monit.conf
72 72
73mv ThisSim.ini $(sanitize "${NAME}").ini
74
73sudo chown -R ${OS_USER}:${OS_USER} .. 75sudo chown -R ${OS_USER}:${OS_USER} ..
74sudo chmod -R g+w .. 76sudo chmod -R g+w ..