diff options
Diffstat (limited to 'stopUGAIM')
-rwxr-xr-x | stopUGAIM | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/stopUGAIM b/stopUGAIM new file mode 100755 index 0000000..b206e69 --- /dev/null +++ b/stopUGAIM | |||
@@ -0,0 +1,17 @@ | |||
1 | #!/bin/bash | ||
2 | DELAY=5 | ||
3 | |||
4 | screen -S server -X msgwait 1 | ||
5 | sleep 1 | ||
6 | screen -S server -X eval "select MessagingServer" "stuff ^Mshutdown^M" | ||
7 | sleep $DELAY | ||
8 | screen -S server -X eval "select InventoryServer" "stuff ^Mshutdown^M" | ||
9 | sleep $DELAY | ||
10 | screen -S server -X eval "select AssetServer" "stuff ^Mshutdown^M" | ||
11 | sleep $DELAY | ||
12 | screen -S server -X eval "select GridServer" "stuff ^Mshutdown^M" | ||
13 | sleep $DELAY | ||
14 | screen -S server -X eval "select UserServer" "stuff ^Mshutdown^M" | ||
15 | |||
16 | # just to be sure... | ||
17 | screen -d -r -S server | ||