diff options
Diffstat (limited to 'scripts/install/go_live.sh')
-rwxr-xr-x | scripts/install/go_live.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/install/go_live.sh b/scripts/install/go_live.sh new file mode 100755 index 0000000..c5ce90e --- /dev/null +++ b/scripts/install/go_live.sh | |||
@@ -0,0 +1,12 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | source common.sh | ||
4 | |||
5 | for i in $(seq 99) | ||
6 | do | ||
7 | j=$(printf "sim%02d" $i) | ||
8 | if [ -e "$OSPATH/config/$j" ] | ||
9 | then | ||
10 | sudo ln -s $OSPATH/config/$j/opensim-monit.conf /etc/monit/conf.d/$j.conf | ||
11 | fi | ||
12 | done | ||