File tree 1 file changed +39
-0
lines changed
1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # this is the same script in /scripts but is added here as well as it's hard coded to look for the folders.
3
+
4
+ # Call the rdp_setup.sh script
5
+ ./Scripts/rdp_setup.sh
6
+
7
+ # Check the exit status of the script
8
+ status=$?
9
+ if [ $status -ne 0 ] ; then
10
+ echo " Error: rdp_setup.sh exited with status $status "
11
+ exit $status
12
+ fi
13
+ read -p " Press any key to continue"
14
+
15
+ for i in {1..7} ; do
16
+ # Call the unit*_lab.sh script
17
+ ./Scripts/unit${i} _lab.sh
18
+
19
+ # Check the exit status of the script
20
+ status=$?
21
+ if [ $status -ne 0 ] ; then
22
+ echo " Error: unit${i} _lab.sh exited with status $status "
23
+ exit $status
24
+ fi
25
+ read -p " Press any key to continue"
26
+
27
+ # Call the unit*_project.sh script
28
+ ./Scripts/unit${i} _project.sh
29
+
30
+ # Check the exit status of the script
31
+ status=$?
32
+ if [ $status -ne 0 ] ; then
33
+ echo " Error: unit${i} _project.sh exited with status $status "
34
+ exit $status
35
+ fi
36
+ read -p " Press any key to continue"
37
+ done
38
+
39
+ echo " All scripts executed successfully."
You can’t perform that action at this time.
0 commit comments