aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/stopUGAIM
diff options
context:
space:
mode:
Diffstat (limited to 'stopUGAIM')
-rwxr-xr-xstopUGAIM17
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
2DELAY=5
3
4screen -S server -X msgwait 1
5sleep 1
6screen -S server -X eval "select MessagingServer" "stuff ^Mshutdown^M"
7sleep $DELAY
8screen -S server -X eval "select InventoryServer" "stuff ^Mshutdown^M"
9sleep $DELAY
10screen -S server -X eval "select AssetServer" "stuff ^Mshutdown^M"
11sleep $DELAY
12screen -S server -X eval "select GridServer" "stuff ^Mshutdown^M"
13sleep $DELAY
14screen -S server -X eval "select UserServer" "stuff ^Mshutdown^M"
15
16# just to be sure...
17screen -d -r -S server