blob: 54033110873af6c98b3efc683c4f245291dffd80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
#
# startup script for distrio manager
#
# checks if a naming service is running
# if not; a newone is started before distrio_manager
#
# author: Manuel Traut <manut@mecka.net>
NS_PORT=12345
NS=`ps aux | grep tao_cosnaming | grep $NS_PORT`
if [ -z "$NS" ]; then
echo start naming service
tao_cosnaming -ORBEndPoint iiop://localhost:$NS_PORT &
sleep 1
fi
LD_LIBRARY_PATH=../../io/lib:../../common ./distrio_manager \
-ORBInitRef NameService=corbaloc:iiop:localhost:12345/NameService \
$@
|