-
Notifications
You must be signed in to change notification settings - Fork 4
/
jarvis.sh
51 lines (36 loc) · 921 Bytes
/
jarvis.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/bash
############################################
# One script to run it all
# Boots up the entire system at one
############################################
# Identify this as the root directory
root=`pwd`
# Parametrize the variables corresponding to directories of individual modules
LEIA_HOME=$root/Leia
R2D2_HOME=$root/R2D2
C3PO_HOME=$root/C3PO
SIP_SERVER_HOME=$root/SIPServer
HANSOLO_HOME=$root/HanSolo
# Start Leia server to support messaging
cd $LEIA_HOME
xterm -e "ant" &
## Give the program some time to compile
sleep 3
# start Text to speech server
cd $R2D2_HOME
xterm -e "ant" &
## Give the program some time to compile
sleep 3
# start speech recognizer
cd $C3PO_HOME
xterm -e "ant" &
## Give the program some time to compile
sleep 3
# start SIP
cd $SIP_SERVER_HOME
xterm -e "ant" &
## Give the program some time to compile and run
sleep 3
# start Windu
cd $HANSOLO_HOME
xterm -e "ant" &