Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / FTRT_Event_Service / NameService
blob4e599cf9a44be480e609b3e8a83cfe5cb86ba00e
1 #!/bin/sh
3 case $# in
4 0) ARG="-multicast";;
5 1) ARG=$1
6 esac
8 case "$ARG" in
9 -multicast) PARAM="-m 1";;
10 -iiop) PARAM=iiop://`hostname`:${ORBNameServicePort=10000};;
11 -sciop) PARAM=sciop://`hostname`:${ORBNameServicePort=10000};;
13 @echo Usage : NameService [-iiop | -sciop] 2&>1 ; exit 2
15 esac
17 $TAO_ROOT/orbsvcs/Naming_Service/Naming_Service -d -d -d -ORBEndPoint "$PARAM"