Debian Codegraph @

apps/scripts/start_clients

raw
1 #!/bin/csh
2 #
3 # Intent: Script for starting the DICOM Demonstration
4 # $Revision: 1.3 $
5
6 echo Starting DICOM Demo
7
8 set SUCCESS = 1
9
10 echo "Enter 1 for imaging demo"
11 echo "Enter 2 to run Print demonstration"
12 echo "Enter 3 to run CTN as a HIS"
13 echo "Enter 4 to run CTN as a PACS"
14 set a = $<
15
16 switch($a)
17 case "1":
18 set S = start_img_client
19 breaksw
20 case "2":
21 set S = start_print_client
22 breaksw
23 case "3":
24 set S = start_his_client
25 breaksw
26 case "4":
27 set S = start_pacs_client
28 breaksw
29 default:
30 set SUCCESS = 0
31 echo $0\: $a not found.
32 breaksw
33 endsw
34
35 if( $SUCCESS == 1 ) then
36
37 $S $LOGNAME
38 endif
39
40 exit