#!/bin/bash NSPORT=2809 echo -n "Searching for free port for the SALOME Naming Service: " while [ ${NSPORT} -lt 3000 ]; do NSPORT=`expr ${NSPORT} + 1` aRes=`netstat -ltn | grep -E :${NSPORT}` if [ -z "$aRes" ]; then cat > ${OMNIORB_CONFIG} < registry,study,moduleCatalog,cppContainer # Other CORBA servers could only be launched in separate process (standalone): # --> pyContainer,supervContainer # # $: ${KERNEL_ROOT_DIR}/bin/salome/runSalome -h # help # ----------------------------------------------------------------------------- # # l'option -i permet de garder l'interpreteur python ouvert : # par defaut, les differents serveurs ouvrent des fenętres xterm # (cf. runSalome.py) # le serveur Logger n'est pas obligatoire (commenté dans runSalome.py) # # -----------------------------------------------------------------------------