File: start_clients

package info (click to toggle)
ctn 3.2.0~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 15,336 kB
  • ctags: 21,262
  • sloc: ansic: 179,501; makefile: 7,004; java: 1,863; csh: 1,067; yacc: 523; sh: 424; cpp: 394; sql: 389; lex: 170
file content (40 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (9)
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
#!/bin/csh
#
# Intent:       Script for starting the DICOM Demonstration
# $Revision: 1.3 $

echo Starting DICOM Demo

set SUCCESS = 1

echo "Enter 1 for imaging demo"
echo "Enter 2 to run Print demonstration"
echo "Enter 3 to run CTN as a HIS"
echo "Enter 4 to run CTN as a PACS"
set a = $<

switch($a)
	case "1":
		set S = start_img_client
		breaksw
	case "2":
		set S = start_print_client
		breaksw
	case "3":
		set S = start_his_client
		breaksw
	case "4":
		set S = start_pacs_client
		breaksw
	default:
		set SUCCESS = 0
		echo $0\: $a not found.
		breaksw
endsw

if( $SUCCESS == 1 ) then

	$S $LOGNAME
endif

exit